summaryrefslogtreecommitdiff
path: root/rsvg-convert.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-11-12 00:11:57 +0100
committerChristian Persch <chpe@gnome.org>2011-11-12 00:19:08 +0100
commit657e84cda86924c5ddaf0134390c3cfc0bb970ab (patch)
tree4c976753b1dc12004f5c1bf8b127b1b36ec91b73 /rsvg-convert.c
parent0171a4e1d4a4634d3ebe209ae1422426c9a12685 (diff)
downloadlibrsvg-657e84cda86924c5ddaf0134390c3cfc0bb970ab.tar.gz
Plug a mem leak
Diffstat (limited to 'rsvg-convert.c')
-rw-r--r--rsvg-convert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsvg-convert.c b/rsvg-convert.c
index 0c224b4b..6a04926b 100644
--- a/rsvg-convert.c
+++ b/rsvg-convert.c
@@ -187,6 +187,7 @@ main (int argc, char **argv)
g_option_context_add_main_entries (g_option_context, options_table, NULL);
g_option_context_set_help_enabled (g_option_context, TRUE);
if (!g_option_context_parse (g_option_context, &argc, &argv, &error)) {
+ g_option_context_free (g_option_context);
display_error (error);
exit (1);
}