diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-06 08:06:16 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-10-06 08:08:10 +0200 |
commit | 19770b6949b9a95038f3216da773204eadfdd6bc (patch) | |
tree | b59693f90fe4136eaacf6f0dca3a9585087b1374 /uci_internal.h | |
parent | aa46546794acf5fb1f1f9bfb15152ea007e2c3c1 (diff) | |
download | uci-19770b6949b9a95038f3216da773204eadfdd6bc.tar.gz |
file: use dynamic memory allocation for tempfile name
Allocating a 4KB stack space buffer just for formatting a tempfile name
does not seem ideal.
Fixes: aa46546794ac ("file: uci_file_commit: fix memory leak")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'uci_internal.h')
0 files changed, 0 insertions, 0 deletions