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

[virt-tools-list] [libosinfo] loader: Fix media object leaks



From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>

---
 osinfo/osinfo_loader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c
index c49d303..a4dd01d 100644
--- a/osinfo/osinfo_loader.c
+++ b/osinfo/osinfo_loader.c
@@ -957,6 +957,7 @@ static void osinfo_loader_os(OsinfoLoader *loader,
             break;
 
         osinfo_os_add_media (os, media);
+        g_object_unref (media);
     }
 
     g_free(nodes);
-- 
1.8.0.1


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