[librsvg] Plug a mem leak
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Plug a mem leak
- Date: Fri, 11 Nov 2011 23:22:42 +0000 (UTC)
commit 657e84cda86924c5ddaf0134390c3cfc0bb970ab
Author: Christian Persch <chpe gnome org>
Date: Sat Nov 12 00:11:57 2011 +0100
Plug a mem leak
rsvg-convert.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-convert.c b/rsvg-convert.c
index 0c224b4..6a04926 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]