Commit decae7d2 authored by Stéphane Borel's avatar Stéphane Borel
Browse files

* Set object pointer to NULL after destroy.

parent 92cae559
......@@ -2,7 +2,7 @@
* objects.c: vlc_object_t handling
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: objects.c,v 1.6 2002/06/04 00:11:12 sam Exp $
* $Id: objects.c,v 1.7 2002/06/05 18:29:24 stef Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -187,6 +187,7 @@ void __vlc_object_destroy( vlc_object_t *p_this )
vlc_cond_destroy( &p_this->object_wait );
free( p_this );
p_this = NULL;
}
/*****************************************************************************
......
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