eve: Fix passing freed uri when sending through D-Bus
Free the uri only after returning from mainloop. Otherwise we when the request_name callback returns uri will already be freed. SVN revision: 78127
This commit is contained in:
parent
79f55a424b
commit
9baebd55e5
|
@ -894,9 +894,10 @@ elm_main(int argc, char **argv)
|
|||
goto end;
|
||||
}
|
||||
|
||||
elm_run();
|
||||
|
||||
if (tmp_uri) free(tmp_uri);
|
||||
|
||||
elm_run();
|
||||
end:
|
||||
config_save(config, NULL);
|
||||
config_free(config);
|
||||
|
|
Loading…
Reference in New Issue