[emerillon] Fix memory leaks
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [emerillon] Fix memory leaks
- Date: Thu, 7 Jan 2010 18:58:41 +0000 (UTC)
commit da6a5a1937c2ad9fc43bad7bbdb150c4a2b354e0
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin novopia com>
Date: Tue Dec 29 22:02:01 2009 -0500
Fix memory leaks
plugins/placemarks/placemarks.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/placemarks/placemarks.c b/plugins/placemarks/placemarks.c
index f17a263..9121763 100644
--- a/plugins/placemarks/placemarks.c
+++ b/plugins/placemarks/placemarks.c
@@ -209,6 +209,8 @@ save_placemarks (PlacemarksPlugin *plugin)
}
g_key_file_free (file);
+ g_free (data);
+ g_free (filename);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]