diff options
Diffstat (limited to 'src/xpm_w32.c')
-rw-r--r-- | src/xpm_w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xpm_w32.c b/src/xpm_w32.c index 2ec32ed9f..7241fb6a9 100644 --- a/src/xpm_w32.c +++ b/src/xpm_w32.c @@ -55,7 +55,7 @@ LoadXpmImage(filename, hImage, hShape) return -1; if (shp == NULL) { - if (img) + if (img) XDestroyImage(img); return -1; } |