Various memory leaks found by valgrind/code review.

Many thanks to Jan for the much neater fast_demo.cc patch.
This commit is contained in:
Steve Herrell
2010-11-10 08:50:54 -05:00
parent 6cce14161f
commit 6d4c50255a
6 changed files with 21 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ class CropWindow : public LWButtonListener, public CropHandlerListener {
// decoration
Cairo::RefPtr<Cairo::ImageSurface> resizeSurface;
LWButton *bZoomIn, *bZoomOut, *bZoom100, *bZoomFit, *bClose;
LWButton *bZoomIn, *bZoomOut, *bZoom100, /**bZoomFit,*/ *bClose;
LWButtonSet buttonSet;
Glib::ustring cropLabel;
int backColor;