diff options
author | Tom Hacohen <tom@stosb.com> | 2016-05-23 08:36:08 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-05-23 08:36:16 +0100 |
commit | 83a2ed5e700a2e44eb2a469fcb33075cfc0b114b (patch) | |
tree | e1957eed02ddc2267cdec7a21d18adf8a1daa7ea | |
parent | 85682678e6d80ff1f0fb174eef3b64a8d7575136 (diff) | |
download | efl-83a2ed5e700a2e44eb2a469fcb33075cfc0b114b.tar.gz |
Eo: Fix wrong allocation.
We weren't allocating the correct amount. Oops.
CID 1355594.
-rw-r--r-- | src/lib/eo/eo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index a8dde5f11a..8ff5f4ac27 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -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 |