[tracker/tracker-0.12] tracker-store: Fix memory leak in Steroids.update
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-store: Fix memory leak in Steroids.update
- Date: Fri, 16 Dec 2011 16:48:05 +0000 (UTC)
commit b80f5746728732e640f97706b56d6174e5301311
Author: JÃrg Billeter <j bitron ch>
Date: Tue Dec 13 17:29:00 2011 +0100
tracker-store: Fix memory leak in Steroids.update
This is caused by a bug in valac.
src/tracker-store/tracker-steroids.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.vala b/src/tracker-store/tracker-steroids.vala
index 124d634..097c38e 100644
--- a/src/tracker-store/tracker-steroids.vala
+++ b/src/tracker-store/tracker-steroids.vala
@@ -109,7 +109,6 @@ public class Tracker.Steroids : Object {
data_input_stream.read_all (query[0:query_size], out bytes_read);
data_input_stream = null;
- input_stream = null;
request.debug ("query: %s", (string) query);
@@ -181,7 +180,6 @@ public class Tracker.Steroids : Object {
}
data_input_stream = null;
- input_stream = null;
var builder = new VariantBuilder ((VariantType) "as");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]