projects
/
platform
/
framework
/
web
/
web-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5924439
)
Add web-provider API to release the json data
author
leerang song
<leerang.song@samsung.com>
Mon, 24 Jun 2013 06:07:57 +0000
(15:07 +0900)
committer
leerang song
<leerang.song@samsung.com>
Wed, 26 Jun 2013 12:20:14 +0000
(21:20 +0900)
[Issue#] N/A
[Problem] The Allocated memory is not released
[Cause] N/A
[Solution] Add web-provider API to release the json data
Change-Id: Ic3388dd3092f874ad3a0f59aa4e2332826526e20
src/API/web_provider_plugin_info.cpp
patch
|
blob
|
history
diff --git
a/src/API/web_provider_plugin_info.cpp
b/src/API/web_provider_plugin_info.cpp
index
1f9b71b
..
9b691ba
100755
(executable)
--- a/
src/API/web_provider_plugin_info.cpp
+++ b/
src/API/web_provider_plugin_info.cpp
@@
-324,10
+324,13
@@
int web_provider_plugin_check_supported_size(
if (!supportedSizeChk) {
LogD("Not supported size: %s", size[configCnt]);
+ web_provider_plugin_release_info(jsonData);
return false;
}
}
+ //release the jsonData
+ web_provider_plugin_release_info(jsonData);
if (!mendatoryChk) {
LogD("Mandatory members don't exist ");
return false;