Fix a leak.
authorwwp <wwp@free.fr>
Tue, 27 Dec 2016 12:12:22 +0000 (13:12 +0100)
committerwwp <wwp@free.fr>
Tue, 27 Dec 2016 12:12:22 +0000 (13:12 +0100)
src/messageview.c

index a62b863..f4ff324 100644 (file)
@@ -877,6 +877,7 @@ static gint disposition_notification_send(MsgInfo *msginfo)
                  text,
                  _("_Don't Send"), _("_Send"), NULL, FALSE,
                  NULL, ALERT_WARNING, G_ALERTDEFAULT);
+               g_free(text);
                if (val != G_ALERTALTERNATE)
                        return -1;
        }