summaryrefslogtreecommitdiff
path: root/x2p/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'x2p/str.c')
-rw-r--r--x2p/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2p/str.c b/x2p/str.c
index ff2dd7ce59..b820a8d67d 100644
--- a/x2p/str.c
+++ b/x2p/str.c
@@ -216,7 +216,7 @@ str_grow(register STR *str, int len)
void
str_replace(register STR *str, register STR *nstr)
{
- Safefree(str->str_ptr);
+ safefree(str->str_ptr);
str->str_ptr = nstr->str_ptr;
str->str_len = nstr->str_len;
str->str_cur = nstr->str_cur;