diff options
author | jc815.lee <jc815.lee@samsung.com> | 2013-05-06 10:53:31 +0900 |
---|---|---|
committer | jc815.lee <jc815.lee@samsung.com> | 2013-05-06 10:53:31 +0900 |
commit | 72cd02720e93be52738962a298258eba94f343f6 (patch) | |
tree | 58064fc8d442871e11d00899f2a5e24f49f73643 | |
parent | af8aca1e5fc1d77463d824da78b0600b42a64b6f (diff) | |
download | secure-storage-72cd02720e93be52738962a298258eba94f343f6.tar.gz secure-storage-72cd02720e93be52738962a298258eba94f343f6.tar.bz2 secure-storage-72cd02720e93be52738962a298258eba94f343f6.zip |
fix prevent issue. resource leaksubmit/tizen_2.1/20130514.054919submit/tizen/20130517.045143accepted/tizen/20130520.101225tizen_2.1
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
-rw-r--r-- | server/src/ss_server_main.c | 1 |
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 { |