diff --git a/src/ssdb/binlog.cpp b/src/ssdb/binlog.cpp index be71d4855..c9f02e730 100644 --- a/src/ssdb/binlog.cpp +++ b/src/ssdb/binlog.cpp @@ -300,6 +300,7 @@ int BinlogQueue::find_min(Binlog *log) const{ } } } + delete it; return ret; }