summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-05-30 04:57:21 +0000
committerGlenn Morris <rgm@gnu.org>2007-05-30 04:57:21 +0000
commitadc06ec41d247f7460ebda0a10993855ded4204c (patch)
tree435a7ca596c5fde5e8b5536efd116f969300cb11
parentdafea68ca287907d4ad3f76b3064ad4de8abf7f8 (diff)
downloademacs-adc06ec41d247f7460ebda0a10993855ded4204c.tar.gz
Ulrich Mueller <ulm at gentoo.org> (tiny change)
(XMakeAssoc): Use malloc rather than xmalloc.
-rw-r--r--oldXMenu/ChangeLog4
-rw-r--r--oldXMenu/XMakeAssoc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog
index c92563d3bc2..9a7f01ed901 100644
--- a/oldXMenu/ChangeLog
+++ b/oldXMenu/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-30 Ulrich Mueller <ulm@gentoo.org> (tiny change)
+
+ * XMakeAssoc.c (XMakeAssoc): Use malloc rather than xmalloc.
+
2007-02-27 Glenn Morris <rgm@gnu.org>
* Imakefile: Remove unused file with no explicit legal info.
diff --git a/oldXMenu/XMakeAssoc.c b/oldXMenu/XMakeAssoc.c
index d443084ac13..cf039c8f3c1 100644
--- a/oldXMenu/XMakeAssoc.c
+++ b/oldXMenu/XMakeAssoc.c
@@ -81,7 +81,7 @@ XMakeAssoc(dpy, table, x_id, data)
/* If we are here then the new entry should be inserted just */
/* before the current value of "Entry". */
/* Create a new XAssoc and load it with new provided data. */
- new_entry = (XAssoc *) xmalloc(sizeof(XAssoc));
+ new_entry = (XAssoc *) malloc(sizeof(XAssoc));
new_entry->display = dpy;
new_entry->x_id = x_id;
new_entry->data = data;