Mercurial > hg > svcore
diff plugin/FeatureExtractionPluginFactory.cpp @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | 7aa9088e9bcd |
children | a1cd5abcb38b |
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.cpp Tue Sep 02 16:23:48 2014 +0100 +++ b/plugin/FeatureExtractionPluginFactory.cpp Tue Sep 09 16:36:21 2014 +0100 @@ -48,6 +48,8 @@ Vamp::Plugin *p = m_plugin; delete m_plugin; m_plugin = 0; + // acceptable use after free here, as pluginDeleted uses p only as + // pointer key and does not deref it if (m_factory) m_factory->pluginDeleted(p); }