Changeset b8961d693f68502c83e085db25f1d4903594519a

Show
Ignore:
Timestamp:
07/05/08 13:34:25 (2 months ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1215257665 +0000
git-parent:

[02c5f252933ad78cc81f0710252e80880526fd29]

git-author:
Laurent Aimar <fenrir@videolan.org> 1215257341 +0000
Message:

Fixed segfault on input_ItemDestroy by vlc_gc_init directly with libvlc and
not wth the object that creates new input items.
(It fixes the segfaults I had when quitting VLC)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/input/item.c

    r7e413aa rb8961d6  
    346346 
    347347    input_ItemInit( p_obj, p_input ); 
    348     vlc_gc_init( p_input, input_ItemDestroy, (void *)p_obj ); 
     348    vlc_gc_init( p_input, input_ItemDestroy, (void *)p_obj->p_libvlc ); 
    349349 
    350350    vlc_object_lock( p_obj->p_libvlc );