diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-28 08:15:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-28 08:15:16 +0000 |
commit | f45c1cb775b7fd0a46bd7146155be2f3a54d2074 (patch) | |
tree | d6590442c71f24d289b373edc20cf2eb0d050b8e | |
parent | 5ba4f6866d8a212e3aaeafe9e5d8fc1b51ae445e (diff) | |
download | control-center-f45c1cb775b7fd0a46bd7146155be2f3a54d2074.tar control-center-f45c1cb775b7fd0a46bd7146155be2f3a54d2074.tar.gz control-center-f45c1cb775b7fd0a46bd7146155be2f3a54d2074.tar.bz2 control-center-f45c1cb775b7fd0a46bd7146155be2f3a54d2074.tar.xz control-center-f45c1cb775b7fd0a46bd7146155be2f3a54d2074.zip |
fix memory leak in animation while waiting for embedded app to show up
-rwxr-xr-x | control-center | 1 |
1 files changed, 1 insertions, 0 deletions
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; }); |