Commit 4aff6639 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* release what you find. (this looks like a very old bug)

parent 8efbcbdf
...@@ -302,6 +302,7 @@ ...@@ -302,6 +302,7 @@
if( p_parser->i_object_type != VLC_OBJECT_MODULE ) if( p_parser->i_object_type != VLC_OBJECT_MODULE )
{ {
/* 0OOoo something went really bad */ /* 0OOoo something went really bad */
vlc_list_release( p_list );
return; return;
} }
...@@ -822,6 +823,7 @@ ...@@ -822,6 +823,7 @@
#undef X_ORIGIN #undef X_ORIGIN
} }
while( p_item->i_type != CONFIG_HINT_END && p_item++ ); while( p_item->i_type != CONFIG_HINT_END && p_item++ );
vlc_object_release( p_parser );
vlc_list_release( p_list ); vlc_list_release( p_list );
[o_prefs_view setDocumentView: o_view]; [o_prefs_view setDocumentView: o_view];
...@@ -1073,6 +1075,7 @@ static VLCTreeItem *o_root_item = nil; ...@@ -1073,6 +1075,7 @@ static VLCTreeItem *o_root_item = nil;
/* all the other stuff are leafs */ /* all the other stuff are leafs */
o_children = IsALeafNode; o_children = IsALeafNode;
} }
vlc_list_release( p_list );
} }
return o_children; return o_children;
} }
......
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