Fix memory leak in save_global_config().
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 13 Aug 2014 23:11:07 +0000 (02:11 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 16 Aug 2014 16:23:39 +0000 (19:23 +0300)
src/configurator.c

index b4c47b9..2b6ece1 100644 (file)
@@ -1595,6 +1595,7 @@ static void save_global_config()
             fprintf( f, "Logout=%s\n", logout_cmd );
         fclose( f );
     }
+    g_free(file);
 }
 
 void free_global_config()