summaryrefslogtreecommitdiff
path: root/src/libsystemd-network
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r--src/libsystemd-network/test-dhcp-option.c2
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;