[tracker/return-types] libtracker-bus: Fixed a leak



commit 9855f23f13da172c28e2f176389aaa41239cb701
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]