[tracker/return-types: 15/28] libtracker-bus: Fixed a leak
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/return-types: 15/28] libtracker-bus: Fixed a leak
- Date: Wed, 15 Sep 2010 15:38:21 +0000 (UTC)
commit bb7efde79e5eaf171613ad924439692578271f5b
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Sep 10 14:08:13 2010 +0200
libtracker-bus: Fixed a leak
src/libtracker-bus/tracker-bus-fd-cursor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-cursor.c b/src/libtracker-bus/tracker-bus-fd-cursor.c
index a9985fc..5736082 100644
--- a/src/libtracker-bus/tracker-bus-fd-cursor.c
+++ b/src/libtracker-bus/tracker-bus-fd-cursor.c
@@ -237,6 +237,8 @@ tracker_bus_fd_cursor_finalize (GObject *object)
cursor = TRACKER_BUS_FD_CURSOR (object);
+ if (cursor->variable_names)
+ g_strfreev (cursor->variable_names);
g_free (cursor->buffer);
G_OBJECT_CLASS (tracker_bus_fd_cursor_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]