projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117f579
)
fix a memroy leak on rdpBitmap free
author
weizhenwei
<weizhenwei1988@gmail.com>
Fri, 9 Jun 2017 02:31:00 +0000
(10:31 +0800)
committer
weizhenwei
<weizhenwei1988@gmail.com>
Wed, 21 Jun 2017 07:26:27 +0000
(15:26 +0800)
libfreerdp/cache/offscreen.c
patch
|
blob
|
history
diff --git
a/libfreerdp/cache/offscreen.c
b/libfreerdp/cache/offscreen.c
index
1b7c2b0
..
df79fc8
100644
(file)
--- 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;
}