Commit 1315f64d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Don't yield an item that may be NULL.

This should fix a bunch of bug report we had from apple-bureport mailing-list.
parent 0d25466f
...@@ -427,7 +427,7 @@ error: ...@@ -427,7 +427,7 @@ error:
- (input_item_t *)item - (input_item_t *)item
{ {
vlc_gc_incref( p_item ); if( p_item ) vlc_gc_incref( p_item );
return p_item; return p_item;
} }
......
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