]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 a1d182b55db2a2c73b8a39a61f39ae5f9558c7b4..3ff7e8943777817b227253cc299715eca6613d4c 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 = {