[glib: 1/2] tests: Fix some minor tests in the GResolver tests in manual mode
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] tests: Fix some minor tests in the GResolver tests in manual mode
- Date: Tue, 23 Apr 2019 15:14:18 +0000 (UTC)
commit 9144aa2a865f3f4b37308e2935c90bea736d513c
Author: Philip Withnall <withnall endlessm com>
Date: Tue Apr 23 11:31:04 2019 +0100
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
gio/tests/resolver.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gio/tests/resolver.c b/gio/tests/resolver.c
index 85d512428..cebd729e2 100644
--- a/gio/tests/resolver.c
+++ b/gio/tests/resolver.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]