diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2011-10-28 09:52:37 -0500 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-01-07 22:50:01 +0000 |
commit | d459f42e64f2bafef5124a456d2ad6fa2cd92a7f (patch) | |
tree | 18b1294ec08c11d421f28114145240e20f53ddca | |
parent | cc7dedd6b51a01996ddab10fe8b84e30700d1570 (diff) |
hw/xwin: Fix double-free in error path in winQueryRGBBitsAndMasks()
Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r-- | hw/xwin/winshadgdi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xwin/winshadgdi.c b/hw/xwin/winshadgdi.c index 1e7cb006c..6339010b6 100644 --- a/hw/xwin/winshadgdi.c +++ b/hw/xwin/winshadgdi.c @@ -270,7 +270,6 @@ winQueryRGBBitsAndMasks (ScreenPtr pScreen) else { ErrorF ("winQueryRGBBitsAndMasks - winQueryScreenDIBFormat failed\n"); - free (pbmih); fReturn = FALSE; } |