Okay.<br><br>If that's the case, why don't we have mediacontrol_StreamInformation__free() function too?<br>StreamInformation is allocated by mediacontrol_get_stream_information(), <br>but there is no explicit function to free it.
<br><br>Otherwise, we must do <br><br>free(stream_info->url); <br>free(stream_info);<br><br><br><div><span class="gmail_quote">2007/5/4, Olivier Aubert <<a href="mailto:olivier.aubert@liris.cnrs.fr">olivier.aubert@liris.cnrs.fr
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Is this intentional?<br>This is intentional. The API user is not expected to create by himself
<br>these structures, which are returned by the mediacontrol_snapshot and<br>mediacontrol_playlist_get_list methods. However, he has to free them<br>after use in order to avoid memleaks.<br><br>Olivier<br><br>--<br>This is the vlc-devel mailing-list, see 
<a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a><br>To unsubscribe, please read <a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote>
</div><br>