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

config: remove double free of config->swaynag_command
master
Drew DeVault 6 years ago committed by GitHub
commit e143c9613d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save