Skip to content

Commit

Permalink
bugfix: memory leak, icons were not destroyed after LoadImage()
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-mausch committed May 3, 2014
1 parent c17cc8d commit 6d0dedc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Platforms/Win32/Objects/Icon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Icon::Icon(const TCHAR *iconName, int width, int height)

Icon::~Icon()
{
DestroyIcon(handle);
}

HICON Icon::get()
Expand Down

0 comments on commit 6d0dedc

Please sign in to comment.