mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 21:34:12 +02:00
Merge branch 'new_alloca0_newa0' into 'main'
galloca: Add new API g_alloca0 and g_newa0 Closes #475 See merge request GNOME/glib!2367
This commit is contained in:
@@ -4570,8 +4570,7 @@ G_STMT_START { \
|
||||
_msg->msg_control = NULL; \
|
||||
else \
|
||||
{ \
|
||||
_msg->msg_control = g_alloca (_msg->msg_controllen); \
|
||||
memset (_msg->msg_control, '\0', _msg->msg_controllen); \
|
||||
_msg->msg_control = g_alloca0 (_msg->msg_controllen); \
|
||||
} \
|
||||
\
|
||||
cmsg = CMSG_FIRSTHDR (_msg); \
|
||||
|
Reference in New Issue
Block a user