changeset: 2437:9f1e7f8e041a
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Mar 05 22:31:03 2009 -0500
files: cmd/wmii/column.c
description:
Fix small memory leak, thanks Andrey Teleshov
diff -r ccc35cc3896f -r 9f1e7f8e041a cmd/wmii/column.c
--- a/cmd/wmii/column.c Thu Mar 05 22:27:45 2009 -0500
+++ b/cmd/wmii/column.c Thu Mar 05 22:31:03 2009 -0500
@@ -59,8 +59,10 @@
a->mode = Colstack;
else
a->mode = a->mode == Coldefault ? Colstack : Coldefault;
- }else
+ }else {
+ free(orig);
return false;
+ }
}
t = s;
if(old)
Received on Fri Mar 06 2009 - 03:31:07 UTC
This archive was generated by hypermail 2.2.0 : Fri Mar 06 2009 - 03:36:05 UTC