<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 14, 2015 at 2:18 PM, Victor Toso <span dir="ltr"><<a href="mailto:victortoso@redhat.com" target="_blank">victortoso@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":cib" class="a3s" style="overflow:hidden">+ if (p-><a href="http://playback.name" target="_blank">playback.name</a>)<br>
+ g_free(p-><a href="http://playback.name" target="_blank">playback.name</a>);<br>
+<br>
+ if (p-><a href="http://record.name" target="_blank">record.name</a>)<br>
+ g_free(p-><a href="http://record.name" target="_blank">record.name</a>);<br>
+</div></blockquote></div><br></div><div class="gmail_extra">g_free() accepts NULL, no need for if<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature">Marc-André Lureau</div>
</div></div>