summaryrefslogtreecommitdiff
path: root/lwlib/lwlib-utils.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2011-10-13 07:55:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-10-13 07:55:46 -0700
commit81d40c920807279ccc0dae0aca46c8291755c66d (patch)
tree8770bfd02923e8b930aec16401eeb16f3fb6fbe4 /lwlib/lwlib-utils.c
parente7e2364b7ba0293fb4b6f8ae3e38127e84dafe8b (diff)
downloademacs-81d40c920807279ccc0dae0aca46c8291755c66d.tar.gz
Use xfree, not free, to avoid crash with --enable-checking=xmallocoverrun.
Diffstat (limited to 'lwlib/lwlib-utils.c')
-rw-r--r--lwlib/lwlib-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c
index 7a0dd1b264a..fe236a210f3 100644
--- a/lwlib/lwlib-utils.c
+++ b/lwlib/lwlib-utils.c
@@ -80,7 +80,7 @@ XtApplyToWidgets (Widget w, XtApplyToWidgetsProc proc, XtPointer arg)
XtApplyToWidgets (kids [i], proc, arg);
proc (kids [i], arg);
}
- free (kids);
+ xfree (kids);
}
}