forked from enlightenment/efl
Eo: Fix wrong allocation.
We weren't allocating the correct amount. Oops. CID 1355594.
This commit is contained in:
parent
85682678e6
commit
83a2ed5e70
|
@ -833,7 +833,7 @@ static void
|
|||
_vtable_init(Eo_Vtable *vtable, size_t size)
|
||||
{
|
||||
vtable->size = size;
|
||||
vtable->chain = calloc(vtable->size, sizeof(vtable->chain));
|
||||
vtable->chain = calloc(vtable->size, sizeof(*vtable->chain));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue