Commit 305d5235 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

objects: Dump libvlc object when aborting because of leaks.

parent ffed6142
......@@ -371,8 +371,10 @@ static void vlc_object_destroy( vlc_object_t *p_this )
p_this->pp_children[i]->psz_object_name );
}
fflush(stderr);
/* Dump libvlc object to ease debugging */
vlc_object_dump( p_this->p_libvlc );
abort();
}
......@@ -406,6 +408,10 @@ static void vlc_object_destroy( vlc_object_t *p_this )
p_global->pp_objects[i]->psz_object_name );
fflush(stderr);
}
/* Dump libvlc object to ease debugging */
vlc_object_dump( p_this );
/* Strongly abort, cause we want these to be fixed */
abort();
}
......
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