summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authormkindahl@dl145h.mysql.com <>2008-02-12 18:21:17 +0100
committermkindahl@dl145h.mysql.com <>2008-02-12 18:21:17 +0100
commita3fe485dfe8443065d5b2d4f078b8607c473ff12 (patch)
tree3867d79f7d0c2a500a0217b154f81a0b1b773186 /sql/sql_binlog.cc
parente91c287ead6b762831b78a5b76435e8ff1c703bd (diff)
downloadmariadb-git-a3fe485dfe8443065d5b2d4f078b8607c473ff12.tar.gz
Various fixes to fix memory leaks after merging replication
tree with main.
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc
index cff4ceeccf9..462806ab10d 100644
--- a/sql/sql_binlog.cc
+++ b/sql/sql_binlog.cc
@@ -234,6 +234,7 @@ void mysql_client_binlog_statement(THD* thd)
send_ok(thd);
end:
+ thd->rli_fake->clear_tables_to_lock();
my_free(buf, MYF(MY_ALLOW_ZERO_PTR));
DBUG_VOID_RETURN;
}