]> git.ipfire.org Git - pakfire.git/commit
file: Refactor making the filelist
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 16:01:51 +0000 (16:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 16:01:51 +0000 (16:01 +0000)
commit34ea3f804f80d7d385b8d410e11093b8a2b85e8d
treeedd303552838d41233149ae2ccde2bb162b69f80
parent760b49be6b5f2c571cae792989f074ef3a03527b
file: Refactor making the filelist

There seems to have been a leak when initializing the string, so we
format it on the stack first and then copy it to the heap later.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/file.c