diff options
| author | Manolo Gouy <Manolo> | 2012-02-16 13:09:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-02-16 13:09:34 +0000 |
| commit | 477febec7b5f4c8f1eafeecd0711793ca690ba15 (patch) | |
| tree | 2fb1d3f7d375a23026d9f06cc2110f1c2ee102cc /FL | |
| parent | e3f407427c7b840d4544430da64e50c4b28acc8a (diff) | |
Added missing initialization/deallocation of member variables of class Fl_Graphics_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Device.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 5b6970fab..f008730c7 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -386,7 +386,7 @@ public: /** Sets the current Fl_Font_Descriptor for the graphics driver */ inline void font_descriptor(Fl_Font_Descriptor *d) { font_descriptor_ = d;} /** \brief The destructor */ - virtual ~Fl_Graphics_Driver() {}; + virtual ~Fl_Graphics_Driver() { if (p) free(p); }; }; #if defined(__APPLE__) || defined(FL_DOXYGEN) |
