<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 9:04 AM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Feb 24, 2014 at 6:01 PM, Ben Chan <<a href="mailto:benchan@chromium.org">benchan@chromium.org</a>> wrote:<br>


> How about g_strdup the strings being returned, and then g_strfreev the<br>
> string array? That's less efficient but makes the ownership transfer of the<br>
> allocated strings more obvious. Also, we don't need to assume how g_strsplit<br>
> actually allocates the string array as the glib API only suggests using<br>
> g_strfreev.  How do you think?<br>
<br>
</div>Yeah, let's do that, it's not a big deal.<br></blockquote><div><br></div><div>Uploaded a revised patch. Sorry I forgot to tag it as v2 :) </div></div></div></div>