INIT allocates memory

This commit is contained in:
Andreas Steffen
2010-11-25 23:09:12 +01:00
parent a95d5760df
commit ea6dc84f09
+1 -1
View File
@@ -49,7 +49,7 @@ METHOD(plugin_t, destroy, void,
*/ */
plugin_t *attr_plugin_create() plugin_t *attr_plugin_create()
{ {
private_attr_plugin_t *this = malloc_thing(private_attr_plugin_t); private_attr_plugin_t *this;
INIT(this, INIT(this,
.public = { .public = {