summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc815.lee <jc815.lee@samsung.com>2013-05-06 10:53:31 +0900
committerjc815.lee <jc815.lee@samsung.com>2013-05-06 10:53:31 +0900
commit72cd02720e93be52738962a298258eba94f343f6 (patch)
tree58064fc8d442871e11d00899f2a5e24f49f73643
parentaf8aca1e5fc1d77463d824da78b0600b42a64b6f (diff)
downloadsecure-storage-72cd02720e93be52738962a298258eba94f343f6.tar.gz
secure-storage-72cd02720e93be52738962a298258eba94f343f6.tar.bz2
secure-storage-72cd02720e93be52738962a298258eba94f343f6.zip
fix prevent issue. resource leaksubmit/tizen_2.1/20130514.054919tizen_2.1
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
-rw-r--r--server/src/ss_server_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/ss_server_main.c b/server/src/ss_server_main.c
index 33cedf7..6344116 100644
--- a/server/src/ss_server_main.c
+++ b/server/src/ss_server_main.c
@@ -238,6 +238,7 @@ int check_privilege_by_sockfd(int sockfd, const char* object, const char* access
{
SLOGD("defined smack label : %s", client_process_smack_label);
strncpy(object, client_process_smack_label, strlen(client_process_smack_label));
+ free(client_process_smack_label);
}
else
{