diff options
| author | Glenn Morris | 2007-05-30 04:58:38 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-05-30 04:58:38 +0000 |
| commit | bdf41b96609f8ff8c49cd2cb73a740363a6a9cd8 (patch) | |
| tree | 9a4c8f087dd4040cb4e07ff2d04a57ac84bba202 | |
| parent | c07318f44aac0ac9048e7c2032e3c0a192f06942 (diff) | |
| download | emacs-bdf41b96609f8ff8c49cd2cb73a740363a6a9cd8.tar.gz emacs-bdf41b96609f8ff8c49cd2cb73a740363a6a9cd8.zip | |
Ulrich Mueller <ulm at gentoo.org> (tiny change)
(XMakeAssoc): Use malloc rather than xmalloc.
| -rw-r--r-- | oldXMenu/ChangeLog | 4 | ||||
| -rw-r--r-- | oldXMenu/XMakeAssoc.c | 2 |
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 @@ | |||
| 1 | 2007-05-30 Ulrich Mueller <ulm@gentoo.org> (tiny change) | ||
| 2 | |||
| 3 | * XMakeAssoc.c (XMakeAssoc): Use malloc rather than xmalloc. | ||
| 4 | |||
| 1 | 2007-02-27 Glenn Morris <rgm@gnu.org> | 5 | 2007-02-27 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Imakefile: Remove unused file with no explicit legal info. | 7 | * 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) | |||
| 81 | /* If we are here then the new entry should be inserted just */ | 81 | /* If we are here then the new entry should be inserted just */ |
| 82 | /* before the current value of "Entry". */ | 82 | /* before the current value of "Entry". */ |
| 83 | /* Create a new XAssoc and load it with new provided data. */ | 83 | /* Create a new XAssoc and load it with new provided data. */ |
| 84 | new_entry = (XAssoc *) xmalloc(sizeof(XAssoc)); | 84 | new_entry = (XAssoc *) malloc(sizeof(XAssoc)); |
| 85 | new_entry->display = dpy; | 85 | new_entry->display = dpy; |
| 86 | new_entry->x_id = x_id; | 86 | new_entry->x_id = x_id; |
| 87 | new_entry->data = data; | 87 | new_entry->data = data; |