mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 19:50:14 +01:00
dhcp/tests: fix memleaks in test code for valgrind
(cherry picked from commit d74a3d0a02)
This commit is contained in:
parent
4f685b4310
commit
12ee98f471
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue