projects
/
platform
/
core
/
telephony
/
libtapi-legacy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a00a4f4
)
Fixed tapi crash issue
58/21558/2
tizen
author
jiajia qin
<jiajia.qin@intel.com>
Thu, 22 May 2014 16:46:25 +0000
(
00:46
+0800)
committer
jiajia qin
<jiajia.qin@intel.com>
Fri, 23 May 2014 11:01:44 +0000
(19:01 +0800)
The reason of the crash is the code is trying to free the variable on the stack.
Signed-off-by: Qin Jiajia <jiajia.qin@intel.com>
Change-Id: I1dc3b38a335131e22b7b5e6f9069d1843214e575
src/tapi_modem.c
patch
|
blob
|
history
diff --git
a/src/tapi_modem.c
b/src/tapi_modem.c
index
a4a968f
..
832fb69
100644
(file)
--- a/
src/tapi_modem.c
+++ b/
src/tapi_modem.c
@@
-267,7
+267,6
@@
EXPORT_API char *tel_get_misc_me_imei_sync(TapiHandle *handle)
ret = tapi_modem_get_imei((TelHandle *)handle, imei);
if (ret != TEL_RETURN_SUCCESS) {
err("Operation Failed");
- g_free(imei);
return NULL;
}