27 lines
880 B
Diff
27 lines
880 B
Diff
From f84c73599aa7c7c6bba94471dc445dbbea521f72 Mon Sep 17 00:00:00 2001
|
|
From: Matthias Clasen <mclasen@redhat.com>
|
|
Date: Fri, 20 Jan 2012 00:40:41 -0500
|
|
Subject: [PATCH] Updates: Don't call g_object_unref on a GPtrArray
|
|
|
|
It doesn't work.
|
|
---
|
|
plugins/updates/gsd-updates-firmware.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/plugins/updates/gsd-updates-firmware.c b/plugins/updates/gsd-updates-firmware.c
|
|
index 17ca804..a04ad27 100644
|
|
--- a/plugins/updates/gsd-updates-firmware.c
|
|
+++ b/plugins/updates/gsd-updates-firmware.c
|
|
@@ -493,7 +493,7 @@ out:
|
|
if (error_code != NULL)
|
|
g_object_unref (error_code);
|
|
if (array != NULL)
|
|
- g_object_unref (array);
|
|
+ g_ptr_array_unref (array);
|
|
if (results != NULL)
|
|
g_object_unref (results);
|
|
return item;
|
|
--
|
|
1.7.8.4
|
|
|