aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-11-25 23:09:12 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-11-25 23:09:12 +0100
commitea6dc84f09e9dbcdbfefb59996fa6631e5d4a41a (patch)
tree993e129d7cc3f1d42a8d69ecb157b48062793adc /src
parenta95d5760df7fb6240c70ae7ee77cfcef6cfa7343 (diff)
downloadstrongswan-ea6dc84f09e9dbcdbfefb59996fa6631e5d4a41a.tar.bz2
strongswan-ea6dc84f09e9dbcdbfefb59996fa6631e5d4a41a.tar.xz
INIT allocates memory
Diffstat (limited to 'src')
-rw-r--r--src/libhydra/plugins/attr/attr_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhydra/plugins/attr/attr_plugin.c b/src/libhydra/plugins/attr/attr_plugin.c
index a1d182b55..3ff7e8943 100644
--- a/src/libhydra/plugins/attr/attr_plugin.c
+++ b/src/libhydra/plugins/attr/attr_plugin.c
@@ -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 = {