[tracker/harmattan-pre-signal-updates: 1316/1380] tracker-store: steroids: Fix memory leak



commit a062144aedf4b38b39b29ae6fa48be8c0ae4e73f
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Sep 9 19:43:05 2010 +0200

    tracker-store: steroids: Fix memory leak

 src/tracker-store/tracker-steroids.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index 285b5f8..3c49f05 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -141,6 +141,9 @@ query_callback (gpointer  inthread_data,
 	}
 
 	if (ptr) {
+		if (ptr->variable_names) {
+			g_strfreev (ptr->variable_names);
+		}
 		g_slice_free (InThreadPtr, ptr);
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]