mirror of
https://github.com/0intro/wmii
synced 2025-02-09 10:54:57 +03:00
Fix small memory leak, thanks Andrey Teleshov
This commit is contained in:
parent
ec0ba6bd4a
commit
4c85d31e61
@ -59,8 +59,10 @@ column_setmode(Area *a, const char *mode) {
|
||||
a->mode = Colstack;
|
||||
else
|
||||
a->mode = a->mode == Coldefault ? Colstack : Coldefault;
|
||||
}else
|
||||
}else {
|
||||
free(orig);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
t = s;
|
||||
if(old)
|
||||
|
Loading…
x
Reference in New Issue
Block a user