fix a memroy leak on rdpBitmap free

This commit is contained in:
weizhenwei 2017-06-09 10:31:00 +08:00
parent 117f579437
commit 873bb26f2e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}