tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=83a2ed5e700a2e44eb2a469fcb33075cfc0b114b

commit 83a2ed5e700a2e44eb2a469fcb33075cfc0b114b
Author: Tom Hacohen <t...@stosb.com>
Date:   Mon May 23 08:36:08 2016 +0100

    Eo: Fix wrong allocation.
    
    We weren't allocating the correct amount. Oops.
    
    CID 1355594.
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index a8dde5f..8ff5f4a 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

-- 


Reply via email to