[gnome-software] trivial: Fix a critical warning introduced in the last few patches
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a critical warning introduced in the last few patches
- Date: Fri, 11 Apr 2014 13:15:49 +0000 (UTC)
commit d9a820eab36ec906b6fca880e81d20252d15a354
Author: Richard Hughes <richard hughsie com>
Date: Fri Apr 11 14:15:42 2014 +0100
trivial: Fix a critical warning introduced in the last few patches
src/gs-offline-updates.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-offline-updates.c b/src/gs-offline-updates.c
index df04bc2..91adfdd 100644
--- a/src/gs-offline-updates.c
+++ b/src/gs-offline-updates.c
@@ -124,10 +124,10 @@ gs_offline_updates_get_time_completed (guint64 *time_completed)
if (info != NULL) {
*time_completed = g_file_info_get_attribute_uint64 (info, G_FILE_ATTRIBUTE_TIME_MODIFIED);
result = TRUE;
+ g_object_unref (info);
}
g_object_unref (file);
- g_object_unref (info);
return result;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]