From c90c4710cee3f4882a4fa193c112f5efb6c93de7 Mon Sep 17 00:00:00 2001
From: Richard Stallman <rms@gnu.org>
Date: Thu, 7 Nov 1996 21:13:22 +0000
Subject: [PATCH] [emacs] (malloc, free): Define as xmalloc, and xfree.

---
 regex.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/regex.c b/regex.c
index 4f222a5e42..e26641bfcd 100644
--- a/regex.c
+++ b/regex.c
@@ -55,6 +55,9 @@
 #include "buffer.h"
 #include "syntax.h"
 
+#define malloc xmalloc
+#define free xfree
+
 #else  /* not emacs */
 
 /* If we are not linking with Emacs proper,
-- 
2.39.5