commit | ab8aeedefd03dcdef2e5f9f1aabc1bb9cd1d70f4 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Wed Apr 25 14:57:22 2012 +0000 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Apr 25 14:57:22 2012 +0000 |
tree | a50108ab32a76ed79b725303b49e1a66f1a59498 | |
parent | 57bbce4306410128397208dc4f1257055f9b5e82 [diff] [blame] |
Proper support for icons in FLTK (upstream STR 2816). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4898 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/fltk/src/Fl.cxx b/common/fltk/src/Fl.cxx index 134e4d0..887c11f 100644 --- a/common/fltk/src/Fl.cxx +++ b/common/fltk/src/Fl.cxx
@@ -1535,6 +1535,8 @@ if (xclass_) { free(xclass_); } + free_icons(); + delete icon_; } // FL_SHOW and FL_HIDE are called whenever the visibility of this widget