[gtk: 48/72] showrendernode: Plug GOptionContext memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 48/72] showrendernode: Plug GOptionContext memory leak
- Date: Wed, 14 Oct 2020 19:08:12 +0000 (UTC)
commit da0abfce3ad800bd6f47b28b0640ede73555d150
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 10 19:02:43 2020 +0200
showrendernode: Plug GOptionContext memory leak
tests/showrendernode.c | 3 +++
1 file changed, 3 insertions(+)
---
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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]