This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/dimmus/meson
in repository efl.
View the commit online.
commit 19442047b2f55a148a300f65d6c11729179002f3
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Thu May 30 07:31:28 2024 +0100
elm - ui position mgr grid - fix calloc size, count
fix calloc size, num vs num, size.
@fix
---
src/lib/elementary/efl_ui_position_manager_grid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/elementary/efl_ui_position_manager_grid.c b/src/lib/elementary/efl_ui_position_manager_grid.c
index 59aabbe2b2..dd098a0747 100644
--- a/src/lib/elementary/efl_ui_position_manager_grid.c
+++ b/src/lib/elementary/efl_ui_position_manager_grid.c
@@ -122,7 +122,7 @@ _size_cache_require(Eo *obj EINA_UNUSED, Efl_Ui_Position_Manager_Grid_Data *pd)
pd->size_cache_dirty = EINA_FALSE;
if (pd->size_cache)
free(pd->size_cache);
- pd->size_cache = calloc(sizeof(int), eina_inarray_count(pd->group_cache));
+ pd->size_cache = calloc(eina_inarray_count(pd->group_cache), sizeof(int));
for (unsigned int i = 0; i < eina_inarray_count(pd->group_cache); ++i)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.