mirror of https://github.com/FreeRDP/FreeRDP
commit
ea845af2bb
|
@ -58,6 +58,9 @@ void xf_Bitmap_New(rdpContext* context, rdpBitmap* bitmap)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (data != bitmap->data)
|
||||||
|
xfree(bitmap->data);
|
||||||
|
|
||||||
bitmap->data = data;
|
bitmap->data = data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue