<p> Attention is currently required from: Peter Fern. </p>
<p>Peter Fern <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19574">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">streams: Ensure that stream is closed in ast_stream_and_wait on error<br><br>When ast_stream_and_wait returns an error (for example, when attempting<br>to stream to a channel after hangup) the stream is not closed, and<br>callers typically do not check the return code. This results in leaking<br>file descriptors, leading to resource exhaustion.<br><br>This change ensures that the stream is closed in case of error.<br><br>ASTERISK-30198 #close<br>Reported-by: Julien Alie<br><br>Change-Id: Ie46b67314590ad75154595a3d34d461060b2e803<br>---<br>M main/file.c<br>1 file changed, 23 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/74/19574/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19574">change 19574</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/19574"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie46b67314590ad75154595a3d34d461060b2e803 </div>
<div style="display:none"> Gerrit-Change-Number: 19574 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Peter Fern <asterisk@obfusc8.org> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Attention: Peter Fern <asterisk@obfusc8.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>