<commit_before>#include "mediacontrol-core.h"
#include <vlc/intf.h>

mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *exception )
{
    exception->code = mediacontrol_InternalException;
    exception->message = strdup( "The mediacontrol extension was compiled for plugin use only." );
    return NULL;
};

void
mediacontrol_exit( mediacontrol_Instance *self )
{
    vlc_object_release( self->p_playlist );
    
    vlc_mutex_lock( &self->p_intf->change_lock );
    self->p_intf->b_die = 1;
    vlc_mutex_unlock( &self->p_intf->change_lock );
    
    vlc_object_release( self->p_intf );
    vlc_object_release( self->p_vlc );
}<commit_msg>mediacontrol-plugin.c: removed superfluous vlc_release()<commit_after>#include "mediacontrol-core.h"
#include <vlc/intf.h>

mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *exception )
{
    exception->code = mediacontrol_InternalException;
    exception->message = strdup( "The mediacontrol extension was compiled for plugin use only." );
    return NULL;
};

void
mediacontrol_exit( mediacontrol_Instance *self )
{
    /* 
       vlc_object_release( self->p_playlist );
    */
    
    vlc_mutex_lock( &self->p_intf->change_lock );
    self->p_intf->b_die = 1;
    vlc_mutex_unlock( &self->p_intf->change_lock );
    
    /*
      vlc_object_release( self->p_intf );
      vlc_object_release( self->p_vlc );
    */
}
{'fraction_non_alphanumeric': 0.12084805653710247, 'fraction_numerical': 0.0014134275618374558, 'mean_word_length': 4.130434782608695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3859704', 'n_tokens_mistral': 515, 'n_tokens_neox': 483, 'n_words': 85}