Commit 027b8eab authored by Antoine Cellerier's avatar Antoine Cellerier

Attach service discovery objects to the playlist (and remove a bunch of trailing spaces).

parent e3a2301c
......@@ -72,6 +72,7 @@ services_discovery_Create ( vlc_object_t * p_super, const char * psz_module_name
p_sd->psz_module = strdup( psz_module_name );
p_sd->b_die = VLC_FALSE; /* FIXME */
vlc_object_attach( p_sd, p_super );
return p_sd;
}
......@@ -85,6 +86,7 @@ void services_discovery_Destroy ( services_discovery_t * p_sd )
free( p_sd->psz_module );
free( p_sd->psz_localized_name );
vlc_object_detach( p_sd );
vlc_object_destroy( p_sd );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment