]> git.ipfire.org Git - pakfire.git/commit
strings: Copy strings a lot when appending to an array
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 4 Jan 2025 15:48:32 +0000 (15:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 4 Jan 2025 15:48:32 +0000 (15:48 +0000)
commit5be56d0fcf604cb99f4b110f87ec00573f5fe715
tree5c9bd65258bcdc00b51d8ffee2bb10766a392dc4
parent43bb9169dfccf065e3f28ff385230000aea3e35a
strings: Copy strings a lot when appending to an array

The static analyzer thinks we are leaking memory, and so we have to make
things a little bit easier for it.

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