diff options
author | David Robillard <d@drobilla.net> | 2009-01-21 00:48:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-01-21 00:48:37 +0000 |
commit | c4e62bfdd15d9b0ab7ffed7629f5bbcb4e69bd33 (patch) | |
tree | fdafe2c585c6f53803facfd26ee849dacc1a99c1 /slv2/pluginclasses.h | |
parent | c59b0892ace3ab0fb743335b36abbd72591d4a7b (diff) | |
download | lilv-c4e62bfdd15d9b0ab7ffed7629f5bbcb4e69bd33.tar.gz lilv-c4e62bfdd15d9b0ab7ffed7629f5bbcb4e69bd33.tar.bz2 lilv-c4e62bfdd15d9b0ab7ffed7629f5bbcb4e69bd33.zip |
Add slv2_plugin_classes_free to public API (fix ticket #324).
Fix memory leak in slv2_plugin_get_port_float_values.
Fix memory leak in slv2_plugin_get_supported_features.
Fix memory leak in slv2_port_has_property.
Fix several memory leaks in slv2_test program.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1921 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/pluginclasses.h')
-rw-r--r-- | slv2/pluginclasses.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/slv2/pluginclasses.h b/slv2/pluginclasses.h index 5a13dbe..7ad3455 100644 --- a/slv2/pluginclasses.h +++ b/slv2/pluginclasses.h @@ -30,6 +30,13 @@ extern "C" { */ +/** Free an SLV2PluginClasses. + * Note that only certain plugin classes should be freed by the user + * (as specified by the documentation of the slv2 function which returned it). + */ +void slv2_plugin_classes_free(SLV2PluginClasses classes); + + /** Get the number of plugins in the collection. */ unsigned |