[librsvg/librsvg-2.40] tools: Fix a minor memory leak of command line arguments
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.40] tools: Fix a minor memory leak of command line arguments
- Date: Tue, 8 Aug 2017 18:38:27 +0000 (UTC)
commit 43bc181c43dfe157654e69fb515b89baa7c371c5
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]