VLC_PUBLIC_API void mediacontrol_PlaylistSeq__free( mediacontrol_PlaylistSeq *ps );
+/**
+ * Free a StreamInformation structure.
+ * \param pic: the StreamInformation structure
+ */
+VLC_PUBLIC_API void
+mediacontrol_StreamInformation__free( mediacontrol_StreamInformation* p_si );
+
/**
* Instanciate and initialize an exception structure.
* \return the exception
mediacontrol_RGBPicture__free( mediacontrol_RGBPicture* pic )
{
if( pic )
+ {
free( pic->data );
- free( pic );
+ free( pic );
+ }
}
mediacontrol_PlaylistSeq*
int i;
for( i = 0 ; i < ps->size ; i++ )
free( ps->data[i] );
+ free( ps->data );
+ free( ps );
}
- free( ps->data );
- free( ps );
}
+void
+mediacontrol_StreamInformation__free( mediacontrol_StreamInformation* p_si )
+{
+ if( p_si )
+ {
+ free( p_si->url );
+ free( p_si );
+ }
+}
+
+
mediacontrol_Exception*
mediacontrol_exception_create( void )
{