From aaed7e84ffabfd95bf626e4c0d53f92dc5dd0fdf Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 10 Aug 2009 09:20:08 +0000 Subject: [PATCH] bug 1303: also clear the vector we've just freed --- RTCP/Interface/include/Interface/PipelineOutput.h | 1 + 1 file changed, 1 insertion(+) diff --git a/RTCP/Interface/include/Interface/PipelineOutput.h b/RTCP/Interface/include/Interface/PipelineOutput.h index 3566b587f9a..cd9da54a90d 100644 --- a/RTCP/Interface/include/Interface/PipelineOutput.h +++ b/RTCP/Interface/include/Interface/PipelineOutput.h @@ -178,6 +178,7 @@ inline PipelineOutputSet::~PipelineOutputSet() for( unsigned i = 0; i < itsOutputs.size(); i++ ) { delete itsOutputs[i]; } + itsOutputs.clear(); } } // namespace RTCP -- GitLab