stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=527ac119f1de21034e761b24923b0cb06d946649
commit 527ac119f1de21034e761b24923b0cb06d946649 Author: Stefan Schmidt <ste...@osg.samsung.com> Date: Mon Nov 30 16:23:00 2015 +0100 emotion: correct argument order for calloc() calloc() expects count first and the actual size to allocate as second argument. Say Thank You to smatch for finding this issues for us. --- src/modules/ethumb/emotion/emotion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ethumb/emotion/emotion.c b/src/modules/ethumb/emotion/emotion.c index 6134406..2247318 100644 --- a/src/modules/ethumb/emotion/emotion.c +++ b/src/modules/ethumb/emotion/emotion.c @@ -367,7 +367,7 @@ _thumb_generate(Ethumb *e) const char *file; Ethumb_Thumb_Format f; double dv; - struct _emotion_plugin *_plugin = calloc(sizeof(struct _emotion_plugin), 1); + struct _emotion_plugin *_plugin = calloc(1, sizeof(struct _emotion_plugin)); o = emotion_object_add(ethumb_evas_get(e)); r = emotion_object_init(o, NULL); --