diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-12-31 16:28:48 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-12-31 16:28:48 +0100 |
commit | ee14ebf211df1322c3d8b550b931bbfa6cb3b033 (patch) | |
tree | 43bedee2fa336e4b3f373205b14d2bb71fc41856 /src/libsystemd-network/lldp-network.c | |
parent | 7d4866548d028489d84c39af1bb9206842a77b2b (diff) |
lldp: fix sd_lldp_save()
Fix a bunch of needless memzero() calls, a bunch of use-after-free
regarding _cleanup_free_ and drop unused variables.
Hint: Do NOT use _cleanup_free_ for temporary strappend() helpers that are
freed multiple times. All you safe is the last free() call, which is
really not worth the trouble resetting it to NULL all the time.
Diffstat (limited to 'src/libsystemd-network/lldp-network.c')
0 files changed, 0 insertions, 0 deletions