From b89110ed9092c75fad5175400aa70bb50b73bd84 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sun, 19 Mar 2023 15:24:31 +0100 Subject: [PATCH] Fix fatal error --- src/statement.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/statement.cc b/src/statement.cc index 29e06f992..0ff39044b 100644 --- a/src/statement.cc +++ b/src/statement.cc @@ -947,8 +947,5 @@ void Statement::CleanQueue() { // preparing the statement failed. std::unique_ptr call(queue.front()); queue.pop(); - // We don't call the actual callback, so we have to make sure that - // the baton gets destroyed. - delete call->baton; } }