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 048dfffb0c7934864a0e05efdf869d89d3a5740a..ff2468e73ba3ef9e4b66e307113641492a83c914 100644 (file)
@@ -40,6 +40,7 @@ void Adaptor::GetDataStoragePath( std::string& path)
   if ( pathInt )
   {
     path = pathInt;
+    free( pathInt );
   }
 #endif
 }