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
This commit is contained in:
parent
a8e192e6b4
commit
05a6292ac0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user