INIT allocates memory
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 25 Nov 2010 22:09:12 +0000 (23:09 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 25 Nov 2010 22:09:12 +0000 (23:09 +0100)
src/libhydra/plugins/attr/attr_plugin.c

index a1d182b..3ff7e89 100644 (file)
@@ -49,7 +49,7 @@ METHOD(plugin_t, destroy, void,
  */
 plugin_t *attr_plugin_create()
 {
-       private_attr_plugin_t *this = malloc_thing(private_attr_plugin_t);
+       private_attr_plugin_t *this;
 
        INIT(this,
                .public = {