Fix a prevent issue - Resource leak 22/42422/2
authortaeyoon <taeyoon0.lee@samsung.com>
Mon, 29 Jun 2015 06:44:37 +0000 (15:44 +0900)
committerTaeyoon Lee <taeyoon0.lee@samsung.com>
Mon, 29 Jun 2015 06:48:23 +0000 (23:48 -0700)
 - Resource leak in GetDATAStoragePath()

Change-Id: If55d99124d6fa8559bd573ad7464fb44e990ac72

adaptors/tizen/adaptor-impl-tizen.cpp

index 048dfff..ff2468e 100644 (file)
@@ -40,6 +40,7 @@ void Adaptor::GetDataStoragePath( std::string& path)
   if ( pathInt )
   {
     path = pathInt;
+    free( pathInt );
   }
 #endif
 }