chiark / gitweb /
lldp: fix uninitialized cleanup var
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 31 Dec 2014 15:04:55 +0000 (16:04 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 31 Dec 2014 15:04:55 +0000 (16:04 +0100)
commite7a2419a2ae2a8f56a3e2840f8d623d2a449277a
tree2279041e63fd0245b4f5afe6cbd132cffeaa9083
parentc5285fbfcede2e0f54d2b5f14193041067cd2af6
lldp: fix uninitialized cleanup var

Make sure to set _cleanup_ variables to NULL. Otherwise, we free
uninitialized objects.
src/libsystemd-network/lldp-internal.c