This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/19174 ) Change subject: mgcp_trunk: use talloc_zero_array instead of _talloc_zero_array ...................................................................... mgcp_trunk: use talloc_zero_array instead of _talloc_zero_array _talloc_zero_array is not supposed to be called by the API user. Lets use talloc_zero_array instead. Related: OS#2659 Change-Id: I27549585016a7998e9233c52f6d86429fc75f509 --- M src/libosmo-mgcp/mgcp_trunk.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/74/19174/1 diff --git a/src/libosmo-mgcp/mgcp_trunk.c b/src/libosmo-mgcp/mgcp_trunk.c index a0322eb..7bcf059 100644 --- a/src/libosmo-mgcp/mgcp_trunk.c +++ b/src/libosmo-mgcp/mgcp_trunk.c @@ -104,8 +104,8 @@ OSMO_ASSERT(number_endpoints < 65534); /* allocate pointer array for the endpoints */ - trunk->endpoints = _talloc_zero_array(trunk->cfg, - sizeof(struct mgcp_endpoint *), number_endpoints, "endpoints"); + trunk->endpoints = talloc_zero_array(trunk->cfg, struct mgcp_endpoint*, + number_endpoints); if (!trunk->endpoints) return -1; -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/19174 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: I27549585016a7998e9233c52f6d86429fc75f509 Gerrit-Change-Number: 19174 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200707/d54834de/attachment.htm>