Skip to content

Commit

Permalink
Merge pull request #1373 from ideawu/dev
Browse files Browse the repository at this point in the history
fix find_min resource leak bug
  • Loading branch information
ideawu authored Sep 17, 2020
2 parents 19ab859 + c0c3bca commit b16c9bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ssdb/binlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ int BinlogQueue::find_min(Binlog *log) const{
}
}
}
delete it;
return ret;
}

Expand Down

0 comments on commit b16c9bf

Please sign in to comment.