Skip to content

Commit

Permalink
binlog_parser delete useless pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
wenduo committed Jul 4, 2016
1 parent b4d17c3 commit df91aa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/binlog_tools/binlog_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ int main(int argc, char *argv[]) {
Binlog* new_logger = new Binlog(output_path, INPUT_FILESIZE);
std::cout << "test result:new binlog can be loaded " << std::endl;
delete binlog_consumer;
delete binlog_producer;
delete old_logger;
delete new_logger;
return 0;
Expand Down

0 comments on commit df91aa1

Please sign in to comment.