[Xfce4-commits] <parole:master> Fix small leak

Simon Steinbeiss noreply at xfce.org
Fri Oct 11 11:52:56 CEST 2013


Updating branch refs/heads/master
         to 4de371b7136f6d3d65778aac9a1cd9a14dfade10 (commit)
       from 802f64f142e1198cb10c3f52149d6e3e559376d0 (commit)

commit 4de371b7136f6d3d65778aac9a1cd9a14dfade10
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Oct 6 18:25:33 2013 +0200

    Fix small leak

 src/parole-player.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/parole-player.c b/src/parole-player.c
index f73d2fa..6c2172b 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2687,6 +2687,7 @@ parole_overlay_expose_event (GtkWidget *widget, cairo_t *cr, gpointer user_data)
 
     gtk_widget_get_allocation(widget, allocation);
     cairo_rectangle (cr, 0, 0, allocation->width, allocation->height);
+    g_free (allocation);
 
     context = gtk_widget_get_style_context(GTK_WIDGET(widget));
     gtk_style_context_add_class (context, "background");


More information about the Xfce4-commits mailing list