From: Andreas Steffen Date: Thu, 25 Nov 2010 22:08:00 +0000 (+0100) Subject: INIT allocates memory X-Git-Tag: 4.5.1~485^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a95d5760df7fb6240c70ae7ee77cfcef6cfa7343;p=thirdparty%2Fstrongswan.git INIT allocates memory --- diff --git a/src/libhydra/plugins/kernel_klips/kernel_klips_plugin.c b/src/libhydra/plugins/kernel_klips/kernel_klips_plugin.c index 9ec3316ffb..84d69c28d3 100644 --- a/src/libhydra/plugins/kernel_klips/kernel_klips_plugin.c +++ b/src/libhydra/plugins/kernel_klips/kernel_klips_plugin.c @@ -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 = {