projects
/
platform
/
core
/
api
/
mediacodec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d331e10
)
fixed svace issue
41/63041/1
accepted/tizen/common/20160322.150613
accepted/tizen/ivi/20160322.090028
accepted/tizen/mobile/20160322.085932
accepted/tizen/tv/20160322.085952
accepted/tizen/wearable/20160322.090007
submit/tizen/20160322.050744
author
Sejun Park
<sejun79.park@samsung.com>
Tue, 22 Mar 2016 01:56:09 +0000
(10:56 +0900)
committer
Sejun Park
<sejun79.park@samsung.com>
Tue, 22 Mar 2016 01:56:09 +0000
(10:56 +0900)
Change-Id: Icfea79a52a4c1dca894c0fd28f292d40c96b2aba
src/media_codec.c
patch
|
blob
|
history
diff --git
a/src/media_codec.c
b/src/media_codec.c
index
f018d6f
..
a9b48ec
100755
(executable)
--- a/
src/media_codec.c
+++ b/
src/media_codec.c
@@
-129,7
+129,8
@@
int mediacodec_create(mediacodec_h *mediacodec)
if (ret != MEDIACODEC_ERROR_NONE) {
LOGE("MEDIACODEC_ERROR_INVALID_OPERATION(0x%08x)", MEDIACODEC_ERROR_INVALID_OPERATION);
handle->state = MEDIACODEC_STATE_NONE;
- free(handle);
+ g_free(handle->mc_handle);
+ g_free(handle);
handle = NULL;
return MEDIACODEC_ERROR_INVALID_OPERATION;
} else {