mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
Merge pull request #2804 from Emantor/swaynag-double-free
config: remove double free of config->swaynag_command
This commit is contained in:
commit
e143c9613d
|
@ -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…
Reference in a new issue