From e6dfd3aef89d7dc2f3d87e0cb57d64713cbfb165 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Dec 2006 01:23:40 +0000 Subject: Fixed (really stupid) crash with feature accessor functions. git-svn-id: http://svn.drobilla.net/lad/slv2@207 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugin.c b/src/plugin.c index 65903da..72c5389 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -246,8 +246,6 @@ slv2_plugin_get_supported_features(const SLV2Plugin* p) SLV2Property result = slv2_query_get_results(p, query, "feature"); - free(query); - return result; } @@ -262,8 +260,6 @@ slv2_plugin_get_optional_features(const SLV2Plugin* p) SLV2Property result = slv2_query_get_results(p, query, "feature"); - free(query); - return result; } @@ -278,8 +274,6 @@ slv2_plugin_get_required_features(const SLV2Plugin* p) SLV2Property result = slv2_query_get_results(p, query, "feature"); - free(query); - return result; } -- cgit v1.2.1