Change in ...osmo-msc[master]: libmsc/paging.c: avoid double zero-initialization

laforge gerrit-no-reply at lists.osmocom.org
Sat Jun 15 18:42:35 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/14468 )

Change subject: libmsc/paging.c: avoid double zero-initialization
......................................................................

libmsc/paging.c: avoid double zero-initialization

Change-Id: Icc839370fc39ab57078ec6deeac337ed2f37793c
---
M src/libmsc/paging.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/libmsc/paging.c b/src/libmsc/paging.c
index 5baa0dc..94406ad 100644
--- a/src/libmsc/paging.c
+++ b/src/libmsc/paging.c
@@ -84,7 +84,7 @@
 	struct paging_request *pr;
 	struct gsm_network *net = vsub->vlr->user_ctx;
 
-	pr = talloc_zero(vsub, struct paging_request);
+	pr = talloc(vsub, struct paging_request);
 	OSMO_ASSERT(pr);
 	*pr = (struct paging_request){
 		.label = label,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14468
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Icc839370fc39ab57078ec6deeac337ed2f37793c
Gerrit-Change-Number: 14468
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190615/3f043dba/attachment.html>


More information about the gerrit-log mailing list