[tracker/wip/carlosg/resources-as-cursors: 16/18] libtracker-sparql: Plug small leak in Turtle deserializer




commit 6a2c18a61064c7483ff3ee9dc2a4c1ef46375128
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 11 20:37:32 2022 +0200

    libtracker-sparql: Plug small leak in Turtle deserializer

 src/libtracker-sparql/tracker-deserializer-turtle.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libtracker-sparql/tracker-deserializer-turtle.c 
b/src/libtracker-sparql/tracker-deserializer-turtle.c
index b82157256..7088dbc67 100644
--- a/src/libtracker-sparql/tracker-deserializer-turtle.c
+++ b/src/libtracker-sparql/tracker-deserializer-turtle.c
@@ -90,6 +90,7 @@ tracker_deserializer_turtle_finalize (GObject *object)
        g_clear_pointer (&deserializer->subject, g_free);
        g_clear_pointer (&deserializer->predicate, g_free);
        g_clear_pointer (&deserializer->object, g_free);
+       g_clear_pointer (&deserializer->graph, g_free);
        g_clear_pointer (&deserializer->base, g_free);
 
        G_OBJECT_CLASS (tracker_deserializer_turtle_parent_class)->finalize (object);


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