[gnome-software] fedora tagger: Use the right cleanup function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] fedora tagger: Use the right cleanup function
- Date: Tue, 24 Feb 2015 13:10:00 +0000 (UTC)
commit b007fc800aae46118ff8fd29c8b692e5c91de4ae
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 24 07:59:56 2015 -0500
fedora tagger: Use the right cleanup function
... or else things will crash.
https://bugzilla.redhat.com/show_bug.cgi?id=1192688
https://bugzilla.gnome.org/show_bug.cgi?id=745085
src/plugins/gs-plugin-fedora-tagger-ratings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-tagger-ratings.c b/src/plugins/gs-plugin-fedora-tagger-ratings.c
index 7d4b7e9..95aa00a 100644
--- a/src/plugins/gs-plugin-fedora-tagger-ratings.c
+++ b/src/plugins/gs-plugin-fedora-tagger-ratings.c
@@ -358,7 +358,7 @@ gs_plugin_fedora_tagger_download (GsPlugin *plugin, GError **error)
guint i;
guint status_code;
_cleanup_free_ gchar *uri = NULL;
- _cleanup_free_ SoupMessage *msg = NULL;
+ _cleanup_object_unref_ SoupMessage *msg = NULL;
_cleanup_ptrarray_unref_ GPtrArray *items = NULL;
_cleanup_strv_free_ gchar **split = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]