Changeset 466c96907cc274286c87f29fc500021713d4dcc0

Show
Ignore:
Timestamp:
22/10/07 18:56:41 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1193072201 +0000
git-parent:

[7d478fff44510c6e0c1868047c23d989d8969bd0]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1193072201 +0000
Message:

Event manager yields libvlc (and all the media_* stuff yields the event manager already)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/event.c

    r6ee1e19 r466c969  
    7676    p_em->p_obj = p_obj; 
    7777    p_em->p_libvlc_instance = p_libvlc_inst; 
     78    libvlc_retain( p_libvlc_inst ); 
    7879    ARRAY_INIT( p_em->listeners_groups ); 
    7980    vlc_mutex_init( p_libvlc_inst->p_libvlc_int, &p_em->object_lock ); 
     
    103104    FOREACH_END() 
    104105    ARRAY_RESET( p_em->listeners_groups ); 
     106 
     107    libvlc_release( p_em->p_livclc_instance ); 
    105108    free( p_em ); 
    106109}