summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-10 19:02:43 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-10-14 15:06:12 -0400
commitda0abfce3ad800bd6f47b28b0640ede73555d150 (patch)
tree3a4c03bf614a79bbe25caa83327bb3f4af062d8c /tests
parent161b1710043cd04efcdf5b904e93829b1e5d12bf (diff)
downloadgtk+-da0abfce3ad800bd6f47b28b0640ede73555d150.tar.gz
showrendernode: Plug GOptionContext memory leak
Diffstat (limited to 'tests')
-rw-r--r--tests/showrendernode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/showrendernode.c b/tests/showrendernode.c
index 25e9960251..4f41f0c4f9 100644
--- a/tests/showrendernode.c
+++ b/tests/showrendernode.c
@@ -152,6 +152,9 @@ main (int argc, char **argv)
return 1;
}
+ g_option_context_free (option_context);
+ option_context = NULL;
+
g_message ("Compare: %d, write to filename: %s", compare_node, write_to_filename);
gtk_init ();