mirror of https://github.com/FreeRDP/FreeRDP
fix a memroy leak on rdpBitmap free
This commit is contained in:
parent
117f579437
commit
873bb26f2e
|
@ -155,7 +155,7 @@ void offscreen_cache_delete(rdpOffscreenCache* offscreenCache, UINT32 index)
|
|||
prevBitmap = offscreenCache->entries[index];
|
||||
|
||||
if (prevBitmap != NULL)
|
||||
prevBitmap->Free(offscreenCache->update->context, prevBitmap);
|
||||
Bitmap_Free(offscreenCache->update->context, prevBitmap);
|
||||
|
||||
offscreenCache->entries[index] = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue