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:
f8d22c0
)
Fixed crash on h264 context cleanup (windows).
author
Armin Novak
<armin.novak@thincast.com>
Fri, 17 Feb 2017 10:40:27 +0000
(11:40 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 17 Feb 2017 10:40:27 +0000
(11:40 +0100)
libfreerdp/codec/h264.c
patch
|
blob
|
history
diff --git
a/libfreerdp/codec/h264.c
b/libfreerdp/codec/h264.c
index
2c91cea
..
584783a
100644
(file)
--- a/
libfreerdp/codec/h264.c
+++ b/
libfreerdp/codec/h264.c
@@
-541,7
+541,7
@@
static void mf_uninit(H264_CONTEXT* h264)
}
for (x = 0; x < sizeof(h264->pYUVData) / sizeof(h264->pYUVData[0]); x++)
- free(h264->pYUVData[x]
[0]
);
+ free(h264->pYUVData[x]);
memset(h264->pYUVData, 0, sizeof(h264->pYUVData));
memset(h264->iStride, 0, sizeof(h264->iStride));