Commit 7ba20d42 authored by Pierre Ynard's avatar Pierre Ynard

variables: properly reset the variable tree in var_DestroyAll()

This allows using it at another time than destroying the object
parent 8d622c5b
......@@ -358,6 +358,7 @@ void var_DestroyAll( vlc_object_t *obj )
vlc_object_internals_t *priv = vlc_internals( obj );
tdestroy( priv->var_root, CleanupVar );
priv->var_root = NULL;
}
#undef var_Change
......
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