xfreerdp: use _aligned_free instead of free
Use _aligned_free to release memory allocated with freerdp_image_convert(). Fixes #2075
This commit is contained in:
parent
763410a66d
commit
831375aa47
@ -258,7 +258,7 @@ Pixmap xf_brush_new(xfContext* xfc, int width, int height, int bpp, BYTE* data)
|
||||
XFree(image);
|
||||
|
||||
if (cdata != data)
|
||||
free(cdata);
|
||||
_aligned_free(cdata);
|
||||
|
||||
XFreeGC(xfc->display, gc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user