summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{