<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6754">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cdr_mysql: avoid releasing a config string<br><br>Fixes a memory corruption issue after a reload of cdr_mysql.<br><br>Issue was accidentally included in 747beb1ed159f89a3b58742e4257740b3d6d6bba .<br><br>ASTERISK-27270 #close<br><br>Change-Id: I90b6a9d18710c0f9009466370bd5f4bac5d5d12e<br>---<br>M addons/cdr_mysql.c<br>1 file changed, 0 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/6754/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c<br>index b8d9ce3..ebe19ad 100644<br>--- a/addons/cdr_mysql.c<br>+++ b/addons/cdr_mysql.c<br>@@ -517,7 +517,6 @@<br> } else {<br> calldate_compat = 0;<br> }<br>- ast_free(compat);<br> <br> if (res < 0) {<br> if (reload) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6754">change 6754</a>. To unsubscribe, 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/6754"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I90b6a9d18710c0f9009466370bd5f4bac5d5d12e </div>
<div style="display:none"> Gerrit-Change-Number: 6754 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Tzafrir Cohen <tzafrir.cohen@xorcom.com> </div>