From 795babd6aaa0f8d9075deaf41258baf5848d06de Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 7 Jan 2013 22:02:33 -0500 Subject: [PATCH] Fix issues from review - Delete the TypeFilter pointers --- Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp b/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp index 16b15897..79401720 100644 --- a/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp +++ b/Sources/Plasma/NucleusLib/pnDispatch/plDispatch.cpp @@ -109,6 +109,8 @@ plDispatch::~plDispatch() void plDispatch::BeginShutdown() { + for (int i = 0; i < fRegisteredExactTypes.Count(); ++i) + delete fRegisteredExactTypes[i]; fRegisteredExactTypes.Reset(); ITrashUndelivered(); }