summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2011-10-12 15:43:51 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2011-10-12 15:43:51 +0000
commit1e4ca74512fd5ff2abcc745b9d879f70b54272dc (patch)
tree9cb509bf750b732900da4313a96ce83f51811bef /app/cwm
parent12e43e98b2eee03d6180e21d08c1999411dfb759 (diff)
use xfree instead of free since strings is allocated with xmalloc; from
dhill ok oga@
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 1c2f292fd..a38a00533 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.53 2011/09/19 07:23:03 okan Exp $
+ * $OpenBSD: group.c,v 1.54 2011/10/12 15:43:50 okan Exp $
*/
#include <sys/param.h>
@@ -515,7 +515,7 @@ group_update_names(struct screen_ctx *sc)
if (prop_ret != NULL)
XFree(prop_ret);
if (sc->group_nonames != 0)
- free(sc->group_names);
+ xfree(sc->group_names);
sc->group_names = strings;
sc->group_nonames = n;