mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 08:56:15 +01:00
Merge branch '1753-resolver-test-leaks' into 'master'
tests: Fix some minor tests in the GResolver tests in manual mode Closes #1753 See merge request GNOME/glib!788
This commit is contained in:
commit
a6a80176ae
@ -222,6 +222,7 @@ print_resolved_txt (const char *rrname,
|
|||||||
for (i = 0; contents[i] != NULL; i++)
|
for (i = 0; contents[i] != NULL; i++)
|
||||||
printf ("%s\n", contents[i]);
|
printf ("%s\n", contents[i]);
|
||||||
g_variant_unref (t->data);
|
g_variant_unref (t->data);
|
||||||
|
g_free (contents);
|
||||||
}
|
}
|
||||||
g_list_free (records);
|
g_list_free (records);
|
||||||
}
|
}
|
||||||
@ -739,6 +740,7 @@ main (int argc, char **argv)
|
|||||||
g_source_remove (watch);
|
g_source_remove (watch);
|
||||||
#endif
|
#endif
|
||||||
g_object_unref (cancellable);
|
g_object_unref (cancellable);
|
||||||
|
g_option_context_free (context);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user