[tracker/return-types: 9/26] tracker-store: steroids: Fix memory leak
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/return-types: 9/26] tracker-store: steroids: Fix memory leak
- Date: Wed, 15 Sep 2010 13:56:09 +0000 (UTC)
commit 4e557f5dfe588a656e68ddb5a029578f27b69df2
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]