diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-08-26 15:08:55 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-08-26 15:08:55 +0000 |
| commit | 05a6292ac02f04b85db8d65f291561907908babd (patch) | |
| tree | 75513d5e110c98cdaa0b035c449ff05f3c3ea3a3 /src/Fl_Help_View.cxx | |
| parent | a8e192e6b4d744d90d2461e686f3a14b4cb83970 (diff) | |
included the broken_image test in the free() method of Fl_Help_View for Win32, now also fixes heap error on exit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_View.cxx')
| -rw-r--r-- | src/Fl_Help_View.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 3e2fee660..079d9851d 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -2373,7 +2373,7 @@ Fl_Help_View::free_data() { if (get_attr(attrs, "SRC", attr, sizeof(attr))) { // Release the image twice to free it from memory... img = get_image(attr, width, height); -#if !defined(WIN32) && !defined(__APPLE__) +#if !defined(__APPLE__) if ((void*)img!=&broken_image) #endif while (img->refcount()>0) img->release(); |
