[tracker/gdbus-porting: 24/65] libtracker-miner: Fixes memory leaks in tracker-miner-object.c
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting: 24/65] libtracker-miner: Fixes memory leaks in tracker-miner-object.c
- Date: Wed, 5 Jan 2011 16:35:09 +0000 (UTC)
commit 251fb4344f9eef7fe29a17e9fde05c6b52c57109
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Dec 31 10:19:52 2010 +0100
libtracker-miner: Fixes memory leaks in tracker-miner-object.c
src/libtracker-miner/tracker-miner-object.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 6a993c4..49ff1f8 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -712,7 +712,7 @@ handle_method_call_ignore_next_update (TrackerMiner *miner,
GDBusMethodInvocation *invocation,
GVariant *parameters)
{
- GStrv urls;
+ GStrv urls = NULL;
TrackerDBusRequest *request;
g_variant_get (parameters, "(^a&s)", &urls);
@@ -724,6 +724,7 @@ handle_method_call_ignore_next_update (TrackerMiner *miner,
tracker_dbus_request_end (request, NULL);
g_dbus_method_invocation_return_value (invocation, NULL);
+ g_free (urls);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]