Merge pull request #2804 from Emantor/swaynag-double-free

config: remove double free of config->swaynag_command
This commit is contained in:
Drew DeVault 2018-10-09 13:37:20 +02:00 committed by GitHub
commit e143c9613d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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