diff options
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_mail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char_sql/int_mail.c b/src/char_sql/int_mail.c index 1a49f787f..20db63d30 100644 --- a/src/char_sql/int_mail.c +++ b/src/char_sql/int_mail.c @@ -133,6 +133,7 @@ static int mail_savemessage(struct mail_message* msg) } else j = (int)SqlStmt_LastInsertId(stmt); + SqlStmt_Free(stmt); StringBuf_Destroy(&buf); // return the ID of the new mail |