fix resource leak reported as CID1100644
This commit is contained in:
parent
a3492b980f
commit
7dba8182cf
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue