projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8568267
)
Eo: Fix wrong allocation.
author
Tom Hacohen
<tom@stosb.com>
Mon, 23 May 2016 07:36:08 +0000
(08:36 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 23 May 2016 07:36:16 +0000
(08:36 +0100)
We weren't allocating the correct amount. Oops.
CID 1355594.
src/lib/eo/eo.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo.c
b/src/lib/eo/eo.c
index
a8dde5f
..
8ff5f4a
100644
(file)
--- 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