projects
/
platform
/
core
/
security
/
drm-service-core-tizen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix coverity issue(RESOURCE_LEAK, CID=1147621)
[platform/core/security/drm-service-core-tizen.git]
/
tappsd
/
src
/
rights
/
DTapps2Rights.cpp
diff --git
a/tappsd/src/rights/DTapps2Rights.cpp
b/tappsd/src/rights/DTapps2Rights.cpp
index
b358350
..
55403e0
100644
(file)
--- a/
tappsd/src/rights/DTapps2Rights.cpp
+++ b/
tappsd/src/rights/DTapps2Rights.cpp
@@
-367,6
+367,9
@@
Error_Exit:
if (encr_cek)
DTAPPS_FREE(encr_cek);
+ if (pDevKey)
+ DTappsFreeDeviceKey(&pDevKey);
+
return ret;
}