free option context

This commit is contained in:
Tim Wiederhake 2011-01-23 23:25:25 +01:00 committed by Kristian Høgsberg
parent eae5569558
commit 748f672b2c

View file

@ -1641,6 +1641,7 @@ display_create(int *argc, char **argv[], const GOptionEntry *option_entries)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
g_option_context_free(context);
d = malloc(sizeof *d); d = malloc(sizeof *d);
if (d == NULL) if (d == NULL)