[anjuta] message-view: don't manually free private structure



commit eabbad95e297a208aa5c1e367ab082cf0dea50d8
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Mon Jun 10 09:23:45 2013 +0200

    message-view: don't manually free private structure

 plugins/message-view/anjuta-msgman.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/plugins/message-view/anjuta-msgman.c b/plugins/message-view/anjuta-msgman.c
index ec5c1d5..86dd5f5 100644
--- a/plugins/message-view/anjuta-msgman.c
+++ b/plugins/message-view/anjuta-msgman.c
@@ -192,11 +192,7 @@ anjuta_msgman_finalize (GObject *obj)
 {
        AnjutaMsgman *msgman = ANJUTA_MSGMAN (obj);
        gtk_widget_destroy(msgman->priv->tab_popup);
-       if (msgman->priv)
-       {
-               g_free (msgman->priv);
-               msgman->priv = NULL;
-       }
+
        G_OBJECT_CLASS (parent_class)->finalize (obj);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]