X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finterface%2Finterface.c;h=00871e4a98612afad9fd8f0c2882b5ad4b2ad5fc;hb=5b9a24fe31130d74626a69b0fcc9cc3c184b8784;hp=46192d83b024f6df25d1df530c5b2c9085f78ccb;hpb=1ac60c8c90f7a724baa9d8d2eed21ed33be86d1b;p=vlc diff --git a/src/interface/interface.c b/src/interface/interface.c index 46192d83b0..00871e4a98 100644 --- a/src/interface/interface.c +++ b/src/interface/interface.c @@ -73,9 +73,11 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module ) { libvlc_int_t *p_libvlc = p_this->p_libvlc; intf_thread_t * p_intf; + static const char psz_type[] = "interface"; /* Allocate structure */ - p_intf = vlc_object_create( p_libvlc, VLC_OBJECT_INTF ); + p_intf = vlc_custom_create( p_libvlc, sizeof( *p_intf ), + VLC_OBJECT_GENERIC, psz_type ); if( !p_intf ) return VLC_ENOMEM;