mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 02:40:11 +01:00
dhcp/tests: fix memleaks in test code for valgrind
This commit is contained in:
parent
63f5a22ad7
commit
d74a3d0a02
1 changed files with 3 additions and 0 deletions
|
|
@ -430,6 +430,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue