[gok] Fix crash while removing gconf keys - bgo#595469
- From: Gerd Kohlberger <gerdk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gok] Fix crash while removing gconf keys - bgo#595469
- Date: Sat, 26 Sep 2009 13:35:59 +0000 (UTC)
commit c827b3c3b1a22dc11831f3091a1fc633d544ca24
Author: Gerd Kohlberger <gerdk src gnome org>
Date: Sat Sep 26 15:24:33 2009 +0200
Fix crash while removing gconf keys - bgo#595469
gok/gok-feedback.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gok/gok-feedback.c b/gok/gok-feedback.c
index 514ac8a..86115d3 100644
--- a/gok/gok-feedback.c
+++ b/gok/gok-feedback.c
@@ -493,12 +493,12 @@ void gok_feedback_unset_deleted_feedbacks_in_gconf()
entry = feedback_entry->data;
gok_log ("Unsetting %s", entry->key);
gconf_client_unset (gconf_client, entry->key, NULL);
- g_free (entry);
+ gconf_entry_free (entry);
feedback_entry = feedback_entry->next;
}
g_slist_free (feedback_entries);
- gok_log ("Unsetting %s", feedback_dir->data);
+ gok_log ("Unsetting %s", (gchar *) feedback_dir->data);
gconf_client_unset (gconf_client, feedback_dir->data, NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]