<p style="white-space: pre-wrap; word-wrap: break-word;">I don't see a need for using dynamic allocations at all,  the 'struct osmo_lcls' is present in all subscr_conn, so why not make it a static member?</p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/13419">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13419/1/include/osmocom/bsc/gsm_data.h">File include/osmocom/bsc/gsm_data.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13419/1/include/osmocom/bsc/gsm_data.h@295">Patch Set #1, Line 295:</a> <code style="font-family:monospace,monospace">             struct osmo_lcls *par; /* LCLS parameters */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">why is this not a static member here?  Your patch doesn't only change from discrete members to 'struct osmo_lcls', but it also switches from static to dynamic allocation.  I support the former, but I don't undestand why the latter change is required.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13419">change 13419</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13419"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I0f2c2a065755d9051fc7d7ce52c19ab0b7d9288a </div>
<div style="display:none"> Gerrit-Change-Number: 13419 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <suraev@alumni.ntnu.no> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <suraev@alumni.ntnu.no> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 08 Apr 2019 07:39:44 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>