diff options
author | marha <marha@users.sourceforge.net> | 2011-02-03 09:44:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-03 09:44:39 +0000 |
commit | 83a4fe0dc71aafbef11477b284abe530d3877556 (patch) | |
tree | 527158f28d9a46d1e9cc83b6c5fa6e8fbed956eb /libX11/src/ImUtil.c | |
parent | 60107fb2d201703dba061622101dafc139559bca (diff) | |
download | vcxsrv-83a4fe0dc71aafbef11477b284abe530d3877556.tar.gz vcxsrv-83a4fe0dc71aafbef11477b284abe530d3877556.tar.bz2 vcxsrv-83a4fe0dc71aafbef11477b284abe530d3877556.zip |
libXext xserver libXau libX11 pixman mesa git update 3 Feb 2011
Diffstat (limited to 'libX11/src/ImUtil.c')
-rw-r--r-- | libX11/src/ImUtil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libX11/src/ImUtil.c b/libX11/src/ImUtil.c index cd418d885..3164d43b7 100644 --- a/libX11/src/ImUtil.c +++ b/libX11/src/ImUtil.c @@ -372,6 +372,7 @@ XImage *XCreateImage ( if (image_bytes_per_line == 0) { image->bytes_per_line = min_bytes_per_line; } else if (image_bytes_per_line < min_bytes_per_line) { + Xfree(image); return NULL; } else { image->bytes_per_line = image_bytes_per_line; |