[Title] mem free before return statement in function.
authorSon Hyunjun <hj79.son@samsung.com>
Fri, 13 Apr 2012 11:11:21 +0000 (20:11 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Fri, 13 Apr 2012 11:11:21 +0000 (20:11 +0900)
[Type] Bugfix
[Module] Logger
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: If3abf2d45d80ea06d3460cb22b0f71e4dc57784c

tizen/src/emulator.c

index 0243dd9115f878caa2c15f18182d0fd12df41a74..cadfdac020a96de098b814cbaf413722446c1c15 100644 (file)
@@ -154,6 +154,7 @@ static void get_bin_dir( char* exec_argv ) {
     p = strrchr( data, '/' );
 #endif
     if ( !p ) {
+        free( data );
         return;
     }