aboutsummaryrefslogtreecommitdiff
path: root/src/txtacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/txtacc.c')
-rw-r--r--src/txtacc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/txtacc.c b/src/txtacc.c
index ee00170..5b9a197 100644
--- a/src/txtacc.c
+++ b/src/txtacc.c
@@ -18,6 +18,7 @@
# include <config.h>
#endif
#include <string.h>
+#include <stdlib.h>
#include "grecs.h"
struct grecs_txtacc_entry
@@ -73,7 +74,7 @@ static void
grecs_txtacc_entry_tailor(struct grecs_txtacc_entry *ent)
{
if (ent->size > ent->len) {
- char *p = realloc(ent->buf, ent->len);
+ char *p = grecs_realloc(ent->buf, ent->len);
if (!p)
return;
ent->buf = p;

Return to:

Send suggestions and report system problems to the System administrator.