This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 238683152911abedd26fa804799e43f365802b97
Author: Carsten Haitzler <[email protected]>
AuthorDate: Wed Nov 16 09:50:59 2022 +0000

    notification - stop allocating wrong struct type for noti actions
    
    the structs size was bigger so it didnt cause any real problem other
    than allocating too much mem. this fixes that
---
 src/bin/e_notification.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c
index ec9b3cd87..b21c5afec 100644
--- a/src/bin/e_notification.c
+++ b/src/bin/e_notification.c
@@ -433,7 +433,8 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Messag
 
              printf("NOT: act=[%s] [%s]\n", txt, txt2);
              num++;
-             actions = realloc(n->actions, (num + 1) * sizeof(E_Notification_Notify));
+             actions = realloc(n->actions, (num + 1) *
+                               sizeof(E_Notification_Notify_Action));
              if (actions)
                {
                   n->actions = actions;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to