summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-08-26 12:37:56 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-08-26 12:37:56 +0200
commita00458421dd4b6fcb9b4cdc433ba0c13970907f1 (patch)
tree849c50e46e2cb96fe71e3430da6983e20e031f34 /test
parente6b18ffaea7d557eec3028a37c043da67a78550c (diff)
sd-dhcp6: fix domainname memleak
strv_extend() does not consume the passed entry, hence, we must properly free it. Furthermore, we should *not* use strv_consume() as we do greedy allocations on 'ret'; and greedy-allocations should only be used for short lived objects or caches. Fix the domainname parser to properly free temporary storage when done.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions