Fixed a memleak introduced in image scaling code
authorMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 25 Oct 2002 11:01:06 +0000 (11:01 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 25 Oct 2002 11:01:06 +0000 (11:01 +0000)
ChangeLog.claws
configure.in
src/imageview.c

index d4ee69c954482275035a8b7589bbd72c30e89916..f4d74e1867fac87c323d28dbc21ddcb202ad12c0 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-25 [melvin]    0.8.5claws54
+
+       * src/imageview.c
+               Fixed a memleak introduced in the scaling code.
+
 2002-10-24 [alfons]    0.8.5claws53
 
        * src/filtering.c
index 37c4d09a89dbd100765f0336dd86e7bd46056d04..4b31b8422d58d49989f9a1cb20f3ee2a2400f0e4 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws53
+EXTRA_VERSION=claws54
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 3a73de60ac27f77a57cd48f9e8aec68d2e053f51..d3621deef99332a7e0071e9dcccd52bc189c1c73 100644 (file)
@@ -112,6 +112,7 @@ void imageview_show_image(ImageView *imageview, MimeInfo *mimeinfo,
        gtk_widget_show(imageview->image);
 
        gdk_pixbuf_unref(pixbuf);
+       gdk_pixbuf_unref(pixbuf_scaled);
 
        if (imageview->messageview->mainwin)
                main_window_cursor_normal(imageview->messageview->mainwin);