projects
/
platform
/
core
/
telephony
/
tel-plugin-packetservice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b213e
)
fix memory leak
67/69567/2
author
Jooseok Park
<jooseok.park@samsung.com>
Mon, 16 May 2016 02:25:34 +0000
(11:25 +0900)
committer
Jooseok Park
<jooseok.park@samsung.com>
Mon, 16 May 2016 06:34:02 +0000
(15:34 +0900)
- for g_hash_table insertion
Change-Id: I2cacdd3727dfcc1ee6d7b1e9e2bc170fcb769469
src/ps_context.c
patch
|
blob
|
history
diff --git
a/src/ps_context.c
b/src/ps_context.c
index
94d066f
..
daf192e
100644
(file)
--- a/
src/ps_context.c
+++ b/
src/ps_context.c
@@
-970,8
+970,17
@@
static int __ps_context_insert_profile_to_database(GHashTable *property, int net
}
/* Free resources */
+ g_free(profile_name);
+ g_free(apn);
+ g_free(auth_type);
+ g_free(auth_id);
+ g_free(auth_pwd);
+ g_free(proxy_addr);
+ g_free(home_url);
+ g_free(svc_id);
+ g_free(pdp_protocol);
+ g_free(roam_pdp_protocol);
g_hash_table_destroy(in_param);
-
EXIT:
/* De-initialize Storage */
tcore_storage_remove_handle(strg_db, handle);