summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index cf6ea56e7..1c048b555 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -720,7 +720,7 @@ int memitemdata_to_sql(const struct item items[], int max, int id, int tableswit
{
SqlStmt_ShowDebug(stmt);
SqlStmt_Free(stmt);
- StringBuf_Clear(&buf);
+ StringBuf_Destroy(&buf);
return 1;
}