test-dhcp-option: fix memleak

This commit is contained in:
Tom Gundersen
2014-05-25 17:34:17 +02:00
parent 1f89214e6e
commit 4eb20caa4d

View File

@@ -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;