diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-25 17:34:17 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-26 21:31:57 +0200 |
commit | 4eb20caa4d32eb69abbf6ece4c9f22d02196f956 (patch) | |
tree | 7def80c207974685da652376cb0d491a35cfc43d /src/libsystemd-network | |
parent | 1f89214e6e990a0b552f6854f87f8514ca384956 (diff) |
test-dhcp-option: fix memleak
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/test-dhcp-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-dhcp-option.c b/src/libsystemd-network/test-dhcp-option.c index 4482a6783c..92c58e0d58 100644 --- a/src/libsystemd-network/test-dhcp-option.c +++ b/src/libsystemd-network/test-dhcp-option.c @@ -300,7 +300,7 @@ static uint8_t options[64] = { static void test_option_set(void) { - DHCPMessage *result; + _cleanup_free_ DHCPMessage *result = NULL; size_t offset = 0, len, pos; unsigned i; |