[tracker-miners/wip/carlosg/coverity-fixes: 10/28] tracker-extract: Plug leak




commit 6587def634b91d89000beb0c55e6080c8e77ad17
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Oct 24 00:36:50 2021 +0200

    tracker-extract: Plug leak
    
    CID: #365654

 src/tracker-extract/tracker-extract-decorator.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/tracker-extract/tracker-extract-decorator.c b/src/tracker-extract/tracker-extract-decorator.c
index b338168a6..f82871655 100644
--- a/src/tracker-extract/tracker-extract-decorator.c
+++ b/src/tracker-extract/tracker-extract-decorator.c
@@ -144,6 +144,8 @@ fill_data (TrackerResource *resource,
 
        for (i = 0; rdf_types[i] != NULL; i++)
                tracker_resource_add_uri (resource, "rdf:type", rdf_types[i]);
+
+       g_strfreev (rdf_types);
 }
 
 static void


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