[gnome-games] libgames-support: Plug a mem leak



commit da5a35e163253fbe119b8d50d6b77a425e8c5379
Author: Christian Persch <chpe gnome org>
Date:   Thu Aug 12 23:36:56 2010 +0200

    libgames-support: Plug a mem leak

 libgames-support/games-preimage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgames-support/games-preimage.c b/libgames-support/games-preimage.c
index 1cf4e1b..92e7df1 100644
--- a/libgames-support/games-preimage.c
+++ b/libgames-support/games-preimage.c
@@ -283,7 +283,7 @@ games_preimage_render_sub (GamesPreimage * preimage,
                                    8,
                                    width, height,
                                    rowstride,
-                                   (GdkPixbufDestroyNotify) g_free, NULL);
+                                   (GdkPixbufDestroyNotify) g_free, data);
 }
 
 #endif /* HAVE_RSVG */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]