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/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/25427 ) Change subject: adjust talloc context ...................................................................... adjust talloc context Change-Id: Id3d5fefc12b7d442c09c507b3a8b0231e46e3068 --- M src/libosmo-mgcp/mgcp_trunk.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/27/25427/1 diff --git a/src/libosmo-mgcp/mgcp_trunk.c b/src/libosmo-mgcp/mgcp_trunk.c index 8bdef94..f41e5a5 100644 --- a/src/libosmo-mgcp/mgcp_trunk.c +++ b/src/libosmo-mgcp/mgcp_trunk.c @@ -123,7 +123,7 @@ OSMO_ASSERT(number_endpoints < 65534); /* allocate pointer array for the endpoints */ - trunk->endpoints = talloc_zero_array(trunk->cfg, struct mgcp_endpoint*, + trunk->endpoints = talloc_zero_array(trunk, struct mgcp_endpoint*, number_endpoints); if (!trunk->endpoints) return -1; -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/25427 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: Id3d5fefc12b7d442c09c507b3a8b0231e46e3068 Gerrit-Change-Number: 25427 Gerrit-PatchSet: 1 Gerrit-Owner: Hoernchen <ewild at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210909/84f3de8f/attachment.htm>