diff options
| author | Richard M. Stallman | 1996-11-07 21:13:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-11-07 21:13:22 +0000 |
| commit | 9abbd16515cbbbc3cf065ca31663e9fc05e7aa18 (patch) | |
| tree | 49413b0fbaa5781d15754b4811ed4eff23a4d8ce /src | |
| parent | e80f3932b6e97eeb6971a65214d871fb5a868ce8 (diff) | |
| download | emacs-9abbd16515cbbbc3cf065ca31663e9fc05e7aa18.tar.gz emacs-9abbd16515cbbbc3cf065ca31663e9fc05e7aa18.zip | |
[emacs] (malloc, free): Define as xmalloc, and xfree.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c index 4f222a5e42e..e26641bfcd9 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -55,6 +55,9 @@ | |||
| 55 | #include "buffer.h" | 55 | #include "buffer.h" |
| 56 | #include "syntax.h" | 56 | #include "syntax.h" |
| 57 | 57 | ||
| 58 | #define malloc xmalloc | ||
| 59 | #define free xfree | ||
| 60 | |||
| 58 | #else /* not emacs */ | 61 | #else /* not emacs */ |
| 59 | 62 | ||
| 60 | /* If we are not linking with Emacs proper, | 63 | /* If we are not linking with Emacs proper, |