diff --git a/GeneratorInterface/Pythia8Interface/plugins/Pythia8Hadronizer.cc b/GeneratorInterface/Pythia8Interface/plugins/Pythia8Hadronizer.cc index c072a944fff08..39b8be7aa9d93 100644 --- a/GeneratorInterface/Pythia8Interface/plugins/Pythia8Hadronizer.cc +++ b/GeneratorInterface/Pythia8Interface/plugins/Pythia8Hadronizer.cc @@ -347,6 +347,10 @@ Pythia8Hadronizer::~Pythia8Hadronizer() // do we need to delete UserHooks/JetMatchingHook here ??? if(fEmissionVetoHook) {delete fEmissionVetoHook; fEmissionVetoHook=0;} if(fEmissionVetoHook1) {delete fEmissionVetoHook1; fEmissionVetoHook1=0;} + if (fMultiUserHook) { + delete fMultiUserHook; + fMultiUserHook = 0; + } //clean up temp file if (!slhafile_.empty()) {