[tracker/miner-fs-refactor] libtracker-bus: Plug 2 leaks



commit 13f9d0fabcc4cfc9785b65583af42bf78007a925
Author: Carlos Garnacho <carlos lanedo com>
Date:   Fri Oct 7 12:17:02 2011 +0200

    libtracker-bus: Plug 2 leaks

 src/libtracker-bus/tracker-bus.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index 4fe2aab..2255c4a 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -249,7 +249,11 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
 				} else {
 					result.add (null);
 				}
+
+                                message = null;
 			}
+
+                        code = null;
 		}
 		return result;
 	}



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