Change in osmo-bts[master]: osmo-bts-trx: print TRX socket addresses in 'show transceiver'

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Nov 13 15:58:27 UTC 2018


Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/11764 )

Change subject: osmo-bts-trx: print TRX socket addresses in 'show transceiver'
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

https://gerrit.osmocom.org/#/c/11764/1/src/osmo-bts-trx/trx_vty.c
File src/osmo-bts-trx/trx_vty.c:

https://gerrit.osmocom.org/#/c/11764/1/src/osmo-bts-trx/trx_vty.c@70
PS1, Line 70: 		vty_out(vty, "TRX %d %s%s", trx->nr, osmo_sock_get_name(NULL, pinst->phy_link->u.osmotrx.trx_ofd_clk.fd), VTY_NEWLINE);
you are leaking memory here, as the function you're calling allocates on the heap...



-- 
To view, visit https://gerrit.osmocom.org/11764
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I081305d730cbdb14b5ce1dbfee18673328225b66
Gerrit-Change-Number: 11764
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Comment-Date: Tue, 13 Nov 2018 15:58:27 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181113/b11690ab/attachment.htm>


More information about the gerrit-log mailing list