[vlc-commits] [Git][videolan/vlc][master] macosx: don't release a NULL input item parser when parsing ended

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Tue Jul 14 15:29:55 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
dc63722e by Felix Paul Kühne at 2026-07-14T16:14:54+02:00
macosx: don't release a NULL input item parser when parsing ended

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCInputItem.m


Changes:

=====================================
modules/gui/macosx/library/VLCInputItem.m
=====================================
@@ -456,8 +456,10 @@ static const struct input_item_parser_cbs_t parserCallbacks =
     } else {
         [notificationCenter postNotificationName:VLCInputItemParsingFailed object:self];
     }
-    input_item_parser_id_Release(_p_parserID);
-    _p_parserID = NULL;
+    if (_p_parserID) {
+        input_item_parser_id_Release(_p_parserID);
+        _p_parserID = NULL;
+    }
 }
 
 - (BOOL)preparsed



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dc63722e75ee59b379dfb072feb96f20ea7a936c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dc63722e75ee59b379dfb072feb96f20ea7a936c
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list