[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: Sat, 12 Nov 2011 01:02:59 +0000 (UTC)
commit d0d27dfd82b2cb8c31554664711319a000fff075
Author: Christian Persch <chpe gnome org>
Date: Sat Nov 12 01:49:54 2011 +0100
Plug a mem leak
==10026== 48 (8 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 97 of 154
==10026== at 0x402AD89: malloc (vg_replace_malloc.c:236)
==10026== by 0x4566BDA: standard_malloc (gmem.c:85)
==10026== by 0x4566F80: g_malloc (gmem.c:159)
==10026== by 0x456B4E3: parse_arg (goption.c:1242)
==10026== by 0x456CDD6: g_option_context_parse (goption.c:1578)
==10026== by 0x8049558: main (rsvg-convert.c:189)
rsvg-convert.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-convert.c b/rsvg-convert.c
index 739cb82..60f59ed 100644
--- a/rsvg-convert.c
+++ b/rsvg-convert.c
@@ -362,6 +362,8 @@ main (int argc, char **argv)
fclose (output_file);
+ g_strfreev (args);
+
rsvg_cleanup ();
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]