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

index 9ec3316..84d69c2 100644 (file)
@@ -45,7 +45,7 @@ METHOD(plugin_t, destroy, void,
  */
 plugin_t *kernel_klips_plugin_create()
 {
-       private_kernel_klips_plugin_t *this = malloc_thing(private_kernel_klips_plugin_t);
+       private_kernel_klips_plugin_t *this;
 
        INIT(this,
                .public = {