[librsvg] tools: Fix a minor memory leak of command line arguments



commit 717595e7333df1a2d8f2514f1761cafae432cd6b
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Jan 27 14:06:18 2017 +0000

    tools: Fix a minor memory leak of command line arguments
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777833

 tools/rsvg-tools-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/rsvg-tools-main.c b/tools/rsvg-tools-main.c
index 33470f0..6b4b505 100644
--- a/tools/rsvg-tools-main.c
+++ b/tools/rsvg-tools-main.c
@@ -178,6 +178,7 @@ rsvg_tools_main (int *argc, char ***argv)
         cairo_destroy (cr);
     }
 
+    g_strfreev (args);
     rsvg_cleanup ();
 
     return 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]