From 873bb26f2e9e77349f8b01630064ae5ec00a86a8 Mon Sep 17 00:00:00 2001 From: weizhenwei Date: Fri, 9 Jun 2017 10:31:00 +0800 Subject: [PATCH] fix a memroy leak on rdpBitmap free --- libfreerdp/cache/offscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/cache/offscreen.c b/libfreerdp/cache/offscreen.c index 1b7c2b0f1..df79fc822 100644 --- a/libfreerdp/cache/offscreen.c +++ b/libfreerdp/cache/offscreen.c @@ -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; }