[tracker] examples: Don't forget to free structure in async-connection
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] examples: Don't forget to free structure in async-connection
- Date: Wed, 2 Mar 2011 14:43:08 +0000 (UTC)
commit 698499002065011b1a4084ea5c8a1e2da1744ce1
Author: Martyn Russell <martyn lanedo com>
Date: Wed Mar 2 14:42:36 2011 +0000
examples: Don't forget to free structure in async-connection
examples/libtracker-sparql/async-connection.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/examples/libtracker-sparql/async-connection.c b/examples/libtracker-sparql/async-connection.c
index e253932..5e67a2c 100644
--- a/examples/libtracker-sparql/async-connection.c
+++ b/examples/libtracker-sparql/async-connection.c
@@ -170,5 +170,7 @@ main (gint argc, gchar *argv[])
g_timer_destroy (md->timer);
g_main_loop_unref (md->loop);
+ g_free (md);
+
return EXIT_SUCCESS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]