<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1: Code-Review-1<br>> (11 comments)</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Hello Corey,</p><p style="white-space: pre-wrap; word-wrap: break-word;">Thank you very much for the wonderful feedback. I have amended the<br>code accordingly (to the best of my knowledge). I hope this meets<br>your expectations. I compile-tested the changes, no warnings. I'll<br>run-test this tomorrow and ping you back.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Best regards,<br>Seb</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">A couple more issues I noticed.  In addition please make sure you use `./configure --enable-dev-mode --enable-permanent-dlopen` for testing.  This configures the compiler to be more aggressive about what will cause a compile error.</p><p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11217">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/11217/2/main/loader.c">File main/loader.c:</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.asterisk.org/#/c/11217/2/main/loader.c@178">Patch Set #2, Line 178:</a> <code style="font-family:monospace,monospace">     strcpy(new_entry->name, name);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Please add a comment /* SAFE */ to the end of this line.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/11217/2/main/loader.c@720">Patch Set #2, Line 720:</a> <code style="font-family:monospace,monospace">                           ao2_link(info_list, obj_tmp);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I missed this, you are leaking a reference to obj_tmp.  ao2_link doesn't steal the allocation reference, the container gets a new reference.  So you need to ao2_ref(obj_tmp, -1) to balance the info_list_obj_alloc.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11217">change 11217</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/+/11217"/><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: I86693a0ecf25d5ba81c73773a03df4abc3426875 </div>
<div style="display:none"> Gerrit-Change-Number: 11217 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Sebastian Kemper <sebastian_ml@gmx.net> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Sebastian Kemper <sebastian_ml@gmx.net> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 03 Apr 2019 21:41:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>