From f45c1cb775b7fd0a46bd7146155be2f3a54d2074 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 28 Jan 2003 08:15:16 +0000 Subject: fix memory leak in animation while waiting for embedded app to show up --- control-center | 1 + 1 file changed, 1 insertion(+) diff --git a/control-center b/control-center index fed6bf79..ce892e25 100755 --- a/control-center +++ b/control-center @@ -565,6 +565,7 @@ $run_darea->signal_connect(expose_event => sub { my ($window, $gc, $width, $height) = ($run_darea->window, $run_darea->style->fg_gc('normal'), $pixbuf->get_width, $pixbuf->get_height); $right_back_pixbuf->render_to_drawable($window, $gc, 0, 0, 0, 0, $width, $height, 'normal', 0, 0); $pixbuf->render_to_drawable($window, $gc, 0, 0, 0, 0, $width, $height, 'normal', 0, 0); + $pixbuf->unref; $run_counter += $run_counter_add; $run_counter_add = -$run_counter_add if $run_counter < 100 || 245 < $run_counter; }); -- cgit v1.2.1