tests: Fix some minor tests in the GResolver tests in manual mode

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1753
This commit is contained in:
Philip Withnall 2019-04-23 11:31:04 +01:00
parent 334c77d39b
commit 9144aa2a86

View File

@ -222,6 +222,7 @@ print_resolved_txt (const char *rrname,
for (i = 0; contents[i] != NULL; i++)
printf ("%s\n", contents[i]);
g_variant_unref (t->data);
g_free (contents);
}
g_list_free (records);
}
@ -739,6 +740,7 @@ main (int argc, char **argv)
g_source_remove (watch);
#endif
g_object_unref (cancellable);
g_option_context_free (context);
return 0;
}