[epiphany] ephy-bookmarks-export: fix memory leak



commit fa0f0441530eb12efa92c3dc4c21afdb2a472de6
Author: Xan Lopez <xan igalia com>
Date:   Fri Mar 15 13:02:59 2013 +0100

    ephy-bookmarks-export: fix memory leak

 src/bookmarks/ephy-bookmarks-export.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c
index adeea8a..143dfa0 100644
--- a/src/bookmarks/ephy-bookmarks-export.c
+++ b/src/bookmarks/ephy-bookmarks-export.c
@@ -435,6 +435,8 @@ out:
                }
        }
 
+       xmlBufferFree (buf);
+
        STOP_PROFILER ("Exporting as RDF")
 
        LOG ("Exporting as RDF %s.", ret >= 0 ? "succeeded" : "FAILED");


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