Thu, 09 May 2019 22:38:40 -0500
Unref the conversation we were created with and fix and initalizer
| pidgin/pidgininvitedialog.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/pidgininvitedialog.c Thu May 09 22:38:16 2019 -0500 +++ b/pidgin/pidgininvitedialog.c Thu May 09 22:38:40 2019 -0500 @@ -39,7 +39,7 @@ N_PROPERTIES, }; -static GParamSpec *properties[N_PROPERTIES] = {}; +static GParamSpec *properties[N_PROPERTIES] = {0, }; G_DEFINE_TYPE_WITH_PRIVATE(PidginInviteDialog, pidgin_invite_dialog, GTK_TYPE_DIALOG); @@ -126,6 +126,7 @@ g_clear_pointer(&priv->contact, g_free); g_clear_pointer(&priv->message, g_free); + g_clear_object(&priv->conversation); G_OBJECT_CLASS(pidgin_invite_dialog_parent_class)->finalize(obj); }