[tracker] tracker-store: Fix memory leak in Steroids.update
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-store: Fix memory leak in Steroids.update
- Date: Tue, 13 Dec 2011 16:39:39 +0000 (UTC)
commit b32faadee21de89dd582f1f6e1321206bc6e530c
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 7b80989..67832f8 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);
@@ -185,7 +184,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]