<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> not to have to cast the <code>g_free()</code> call.  But yeah, the cast could be done the other way around in the <code>g_free()</code> call instead of the assignation.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1126#issuecomment-231236683">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ0wuhugoAn77Dl2Jahfoe_bouBWuks5qTYrpgaJpZM4JHPP7">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2u1saB6vKC9a2bpiKxmFAjuznpuks5qTYrpgaJpZM4JHPP7.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1126#issuecomment-231236683"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>