config: remove double free of config->swaynag_command

Fixes #2796
master
Rouven Czerwinski 6 years ago
parent 4bebee620f
commit 1eb0dc2922

@ -73,8 +73,6 @@ void free_config(struct sway_config *config) {
memset(&config->handler_context, 0, sizeof(config->handler_context)); memset(&config->handler_context, 0, sizeof(config->handler_context));
free(config->swaynag_command);
// TODO: handle all currently unhandled lists as we add implementations // TODO: handle all currently unhandled lists as we add implementations
if (config->symbols) { if (config->symbols) {
for (int i = 0; i < config->symbols->length; ++i) { for (int i = 0; i < config->symbols->length; ++i) {

Loading…
Cancel
Save