[librsvg] fix memory leak.



commit 5aa318c341c25666a2716b3e16e1d6c3652f9745
Author: Hiroyuki Ikezoe <hiikezoe gnome org>
Date:   Sun May 30 20:59:02 2010 +0900

    fix memory leak.

 rsvg-image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-image.c b/rsvg-image.c
index 73e06ca..dfc9609 100644
--- a/rsvg-image.c
+++ b/rsvg-image.c
@@ -112,6 +112,7 @@ rsvg_acquire_file_resource (const char *filename, const char *base_uri, GError *
 
     g_byte_array_append (array, (guint8 *)data, length);
     g_free (data);
+    g_free (path);
 
     return array;
 }



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