Fix accessing freed memory in X509CertificateStore::Update()
[platform/framework/native/appfw.git] / src / security / FSecPrivilegeInfo.cpp
index 1890f5e..16f32f9 100755 (executable)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -29,7 +28,6 @@
 #include "FSec_PrivilegeInfoImpl.h"
 
 using namespace Tizen::Base;
-using namespace Tizen::Base::Collection;
 using namespace Tizen::Security;
 
 namespace Tizen { namespace Security
@@ -44,7 +42,7 @@ PrivilegeInfo::PrivilegeInfo(void)
 
 PrivilegeInfo::~PrivilegeInfo(void)
 {
-
+       delete __pImpl;
 }
 
 result