Commit 5a426d03 authored by unknown's avatar unknown

Add call to 'thd::clean_up' before deleting THD

parent ab1c0baa
......@@ -4015,8 +4015,8 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
hash_free(&ndb_schema_objects);
// Placed here to avoid a memory leak; TODO: check if needed
net_end(&thd->net);
thd->cleanup();
delete thd;
ndb_binlog_thread_running= -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment