[libdazzle] suggestion: zero out ion-name
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] suggestion: zero out ion-name
- Date: Mon, 4 Sep 2017 00:40:20 +0000 (UTC)
commit 83bbfdf75c1f57a64e444fc68f3205e5a49e50f6
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 3 17:40:11 2017 -0700
suggestion: zero out ion-name
src/suggestions/dzl-suggestion.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/suggestions/dzl-suggestion.c b/src/suggestions/dzl-suggestion.c
index 791b0d1..6e6708d 100644
--- a/src/suggestions/dzl-suggestion.c
+++ b/src/suggestions/dzl-suggestion.c
@@ -56,6 +56,8 @@ dzl_suggestion_finalize (GObject *object)
DzlSuggestion *self = (DzlSuggestion *)object;
DzlSuggestionPrivate *priv = dzl_suggestion_get_instance_private (self);
+ priv->icon_name = NULL;
+
g_clear_pointer (&priv->title, g_free);
g_clear_pointer (&priv->subtitle, g_free);
g_clear_pointer (&priv->id, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]