Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed: window manager icon missing on X11
regression after image code refactorization (cc5ed3c)
- Loading branch information
spiff
committed
Aug 13, 2012
1 parent
aed9109
commit c1dc5ee
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c1dc5ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe CTexture::LoadFromFile() can return NULL on error. We can dereference a NULL pointer when calling iconTexture->GetPixels().