mirror of
https://github.com/NickHu/sway
synced 2025-01-28 07:58:22 +01: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue