# HG changeset patch # User Chris Cannam # Date 1197300760 0 # Node ID f4f9c039c4581df8acf10b04a0487f851ca041a0 # Parent 7263e37d8913b69f6d6a871d25e3fc746ef1bd9f ... diff -r 7263e37d8913 -r f4f9c039c458 plugin/transform/TransformFactory.h --- a/plugin/transform/TransformFactory.h Mon Dec 10 15:31:32 2007 +0000 +++ b/plugin/transform/TransformFactory.h Mon Dec 10 15:32:40 2007 +0000 @@ -98,6 +98,9 @@ * the transform was a feature-extraction type -- call * downcastVampPlugin if you only want Vamp::Plugins). Returns * NULL if no suitable plugin was available. + * + * The returned plugin is owned by the caller, and should be + * deleted (using "delete") when no longer needed. */ Vamp::PluginBase *instantiatePluginFor(const Transform &transform);