i3-config-wizard: fix small memleak
This commit is contained in:
parent
4cba9fcbda
commit
a8b90317a0
|
@ -293,6 +293,7 @@ static char *next_state(const cmdp_token *token) {
|
|||
}
|
||||
sasprintf(&res, "bindsym %s%s%s %s%s\n", (modifiers == NULL ? "" : modrep), (modifiers == NULL ? "" : "+"), str, (release == NULL ? "" : release), get_string("command"));
|
||||
clear_stack();
|
||||
free(modrep);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue