[anjuta] symbol-db: Fix leak of prj_elements_list in do_check_offline_files_changed()
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: Fix leak of prj_elements_list in do_check_offline_files_changed()
- Date: Wed, 9 Jan 2013 20:38:31 +0000 (UTC)
commit c77821152be684bf350aa032c169303f0b519e32
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Wed Jan 9 18:48:26 2013 +0100
symbol-db: Fix leak of prj_elements_list in do_check_offline_files_changed()
plugins/symbol-db/plugin.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 6b9b389..b7fa709 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -1410,7 +1410,8 @@ do_check_offline_files_changed (SymbolDBPlugin *sdb_plugin)
filename);
g_object_unref (gfile);
}
-
+
+ g_list_free(prj_elements_list);
/* some files may have added/removed editing Makefile.am while
* Anjuta was offline. Check this case too.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]