fix resource leak reported as CID1100644

This commit is contained in:
Boris Faure 2014-06-21 17:12:05 +02:00
parent a3492b980f
commit 7dba8182cf
1 changed files with 1 additions and 3 deletions

View File

@ -2004,7 +2004,7 @@ main_win_new(const char *name, const char *role, const char *title,
return NULL;
}
wn->config = config;
wn->config = config_fork(config);
evas_object_event_callback_add(wn->win, EVAS_CALLBACK_DEL, _cb_del, wn);
@ -3123,8 +3123,6 @@ remote:
goto end;
}
config = config_fork(config);
if (config->application_server)
app_server_init(&wins, config->application_server_restore_views);