MT#64901 core: fix memory leak in trans_timer::fire

Closes GH#9

Change-Id: I2ec3ef2b1ce82e04caccae6c870e2a983ba9a27c
mr26.1.1
Vadim Saranov 4 months ago committed by Donat Zenichev
parent c0648c27bf
commit 6c858bb237

@ -205,7 +205,8 @@ void trans_timer::fire()
// 2. we have already set a new one
// -> anyway, don't fire the old one !!!
bucket->unlock();
return;
delete this;
return;
}
// timer_expired unlocks the bucket
@ -220,6 +221,7 @@ void trans_timer::fire()
else {
ERROR("Invalid bucket id\n");
}
delete this;
}
/**

Loading…
Cancel
Save