mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
tests: AioCompletion incorrectly freed
The AioCompletion should be released instead of directly deleted. Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
fd7723a1e6
commit
387a09eeea
@ -180,7 +180,7 @@ public:
|
||||
}
|
||||
|
||||
m_aio_completions.erase(aio_completion);
|
||||
delete aio_completion;
|
||||
aio_completion->release();
|
||||
}
|
||||
|
||||
m_callback_cond.Signal();
|
||||
|
Loading…
Reference in New Issue
Block a user