[PATCH 2/3] free option context

Tim Wiederhake twied at gmx.net
Sun Jan 23 14:25:25 PST 2011


---
 clients/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/clients/window.c b/clients/window.c
index ac14fd6..2944287 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1641,6 +1641,7 @@ display_create(int *argc, char **argv[], const GOptionEntry *option_entries)
 		exit(EXIT_FAILURE);
 	}
 
+        g_option_context_free(context);
 
 	d = malloc(sizeof *d);
 	if (d == NULL)
-- 
1.7.2.3



More information about the wayland-devel mailing list