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 @@
18# include <config.h> 18# include <config.h>
19#endif 19#endif
20#include <string.h> 20#include <string.h>
21#include <stdlib.h>
21#include "grecs.h" 22#include "grecs.h"
22 23
23struct grecs_txtacc_entry 24struct grecs_txtacc_entry
@@ -73,7 +74,7 @@ static void
73grecs_txtacc_entry_tailor(struct grecs_txtacc_entry *ent) 74grecs_txtacc_entry_tailor(struct grecs_txtacc_entry *ent)
74{ 75{
75 if (ent->size > ent->len) { 76 if (ent->size > ent->len) {
76 char *p = realloc(ent->buf, ent->len); 77 char *p = grecs_realloc(ent->buf, ent->len);
77 if (!p) 78 if (!p)
78 return; 79 return;
79 ent->buf = p; 80 ent->buf = p;

Return to:

Send suggestions and report system problems to the System administrator.