diff options
author | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-03 10:57:58 +0900 |
---|---|---|
committer | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-03 10:57:58 +0900 |
commit | 68bf5c4184c2899c4b0594930c7112d88f15e199 (patch) | |
tree | e37e1ab4b65798014596f9778bd2b2a73642e64c /gio/tests/resolver.c | |
parent | d5a1e991c0c65ccab2b0cb9b8b9320ee3b2ea8e5 (diff) | |
download | glib-68bf5c4184c2899c4b0594930c7112d88f15e199.tar.gz glib-68bf5c4184c2899c4b0594930c7112d88f15e199.tar.bz2 glib-68bf5c4184c2899c4b0594930c7112d88f15e199.zip |
Imported Upstream version 2.61.1
Diffstat (limited to 'gio/tests/resolver.c')
-rw-r--r-- | gio/tests/resolver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gio/tests/resolver.c b/gio/tests/resolver.c index 85d512428..c57b81867 100644 --- a/gio/tests/resolver.c +++ b/gio/tests/resolver.c @@ -49,7 +49,7 @@ usage (void) fprintf (stderr, " Use -s to do synchronous lookups.\n"); fprintf (stderr, " Use -c NUMBER (and only a single resolvable argument) to test GSocketConnectable.\n"); fprintf (stderr, " The given NUMBER determines how many times the connectable will be enumerated.\n"); - fprintf (stderr, " Use -t with MX, TXT, NS or SOA to lookup DNS records of those types.\n"); + fprintf (stderr, " Use -t with MX, TXT, NS or SOA to look up DNS records of those types.\n"); exit (1); } @@ -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; } |