dhcp/tests: fix memleaks in test code for valgrind

(cherry picked from commit d74a3d0a02)
This commit is contained in:
Thomas Haller 2015-02-08 11:06:20 +01:00
parent 4f685b4310
commit 12ee98f471

View file

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