[tracker] TrackerDataManager: Avoid double free on error condition.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] TrackerDataManager: Avoid double free on error condition.
- Date: Tue, 2 Mar 2010 13:06:53 +0000 (UTC)
commit 77c0b3190c260e7a035a364bdfb0e71282027904
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Mar 2 14:02:08 2010 +0100
TrackerDataManager: Avoid double free on error condition.
The element will be freed shortly after together with the
other list elements.
src/libtracker-data/tracker-data-manager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 1978c28..93d557c 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -1723,7 +1723,6 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (!ontology) {
g_critical ("Can't get ontology from file: %s", ontology_file);
- g_free (l->data);
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]