[tracker] tracker-search: Make sure we tracker_disconnect before exiting



commit 60a1986d8967ff25b5cedf36f4af7226acf65aa5
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Sep 24 11:45:33 2009 +0100

    tracker-search: Make sure we tracker_disconnect before exiting

 src/tracker-utils/tracker-search.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-utils/tracker-search.c b/src/tracker-utils/tracker-search.c
index bf87559..3db184d 100644
--- a/src/tracker-utils/tracker-search.c
+++ b/src/tracker-utils/tracker-search.c
@@ -908,5 +908,7 @@ main (int argc, char **argv)
 		return success ? EXIT_SUCCESS : EXIT_FAILURE;
 	}
 
+	tracker_disconnect (client);
+
 	return EXIT_SUCCESS;
 }



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