diff options
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 39a879bc619..bbd4adc8459 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1778,6 +1778,7 @@ static void cleanup() my_free(const_cast<char*>(dirname_for_local_load)); my_free(start_datetime_str); my_free(stop_datetime_str); + delete_dynamic(&binlog_events); delete binlog_filter; delete glob_description_event; @@ -3030,7 +3031,6 @@ int main(int argc, char** argv) } fprintf(result_file, "COMMIT\n/*!*/;\n"); } - delete_dynamic(&binlog_events); /* Set delimiter back to semicolon */ if (!stop_event_string.is_empty()) |