summaryrefslogtreecommitdiff
path: root/src/common/strlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r--src/common/strlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 7f79a5ef0..dfacbf136 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -1051,7 +1051,7 @@ StringBuf* StringBuf_Malloc()
void StringBuf_Init(StringBuf* self)
{
self->max_ = 1024;
- self->ptr_ = self->buf_ = (char*)aMallocA(self->max_ + 1);
+ self->ptr_ = self->buf_ = (char*)aMalloc(self->max_ + 1);
}
/// Appends the result of printf to the StringBuf