summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-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;
}