reload: fix memory leak

This commit is contained in:
Michael Stapelberg
2016-01-09 13:46:49 +01:00
parent 79594398e2
commit e7f1476180
3 changed files with 8 additions and 1 deletions

View File

@ -169,6 +169,10 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
/* Get rid of the current font */
free_font();
free(config.ipc_socket_path);
free(config.restart_state_path);
free(config.fake_outputs);
}
SLIST_INIT(&modes);