[tracker-miner-chatlog] miner: Plug leak



commit 387631a3d45ea66e19b88f5c2b7ee9c606c6858a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jan 17 20:25:31 2016 +0100

    miner: Plug leak
    
    Variant needs unref'ing.

 src/miner.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/miner.c b/src/miner.c
index bd6ca96..ff797c5 100644
--- a/src/miner.c
+++ b/src/miner.c
@@ -439,6 +439,7 @@ map_results (TmcMiner  *miner,
 
                miner_set_entity_urn (miner, entity, urn);
 
+               g_variant_unref (elem);
                g_variant_unref (child);
                g_free (name);
                g_free (urn);


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