dhcp/tests: fix memleaks in test code for valgrind

This commit is contained in:
Thomas Haller
2015-02-08 11:06:20 +01:00
parent 63f5a22ad7
commit d74a3d0a02

View File

@@ -430,6 +430,9 @@ test_one_duid (const char *escaped, const guint8 *unescaped, guint len)
g_assert (w); g_assert (w);
g_assert_cmpint (strlen (escaped), ==, strlen (w)); g_assert_cmpint (strlen (escaped), ==, strlen (w));
g_assert_cmpstr (escaped, ==, w); g_assert_cmpstr (escaped, ==, w);
g_byte_array_free (t, TRUE);
g_free (w);
} }
static void static void