[Prevent] Fixing issue 52340
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Tue, 7 May 2013 12:17:43 +0000 (14:17 +0200)
committerGerrit Code Review <gerrit2@kim11>
Thu, 9 May 2013 08:59:33 +0000 (17:59 +0900)
[Issue#] LINUXWRT-305
[Problem] N/A
[Cause] N/A
[Solution] Free allocated data.
[Verification] Build repo.

Change-Id: I27de958733fe2d8336f41bd0d94f78fc270142b0

src/jobs/widget_install/task_smack.cpp

index 9857bf7..2957cfa 100644 (file)
@@ -143,6 +143,8 @@ void TaskSmack::SmackPrivilegeStep()
         }
     }
 
+    free(appId);
+
     m_context.job->UpdateProgress(
         InstallerContext::INSTALL_SMACK_ENABLE,
         "Widget SMACK Enabled");