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

fixeria gerrit-no-reply at lists.osmocom.org
Sat Jun 15 16:01:56 UTC 2019


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/68/14468/1

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: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190615/3c8589e7/attachment.html>


More information about the gerrit-log mailing list