Crash due to freeing unallocated pointer
When trying to play a specific item, VLC crashes:
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-12789-g4d03f4d621)
[00000001005184e8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
vlc-osx-static(13252,0x7000044c8000) malloc: *** error for object 0x1101a0a90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Process 13252 stopped
* thread [#6](https://code.videolan.org/videolan/vlc/-/issues/6), stop reason = breakpoint 1.1
frame [#0](https://code.videolan.org/videolan/vlc/-/issues/0): 0x00007fffb85a015f libsystem_malloc.dylib`malloc_error_break
libsystem_malloc.dylib`malloc_error_break:
-> 0x7fffb85a015f <+0>: pushq %rbp
0x7fffb85a0160 <+1>: movq %rsp, %rbp
0x7fffb85a0163 <+4>: nop
0x7fffb85a0164 <+5>: nopl (%rax)
(lldb) bt
* thread [#6](https://code.videolan.org/videolan/vlc/-/issues/6), stop reason = breakpoint 1.1
* frame [#0](https://code.videolan.org/videolan/vlc/-/issues/0): 0x00007fffb85a015f libsystem_malloc.dylib`malloc_error_break
frame [#1](https://code.videolan.org/videolan/vlc/-/issues/1): 0x00007fffb8591f6e libsystem_malloc.dylib`free + 409
frame [#2](https://code.videolan.org/videolan/vlc/-/issues/2): 0x0000000100103635 libvlccore.dylib`UpdateBookmarksOption(p_input=0x0000000102148ae8) at control.c:605 [opt]
frame [#3](https://code.videolan.org/videolan/vlc/-/issues/3): 0x0000000100103391 libvlccore.dylib`input_vaControl(p_input=0x0000000102148ae8, i_query=<unavailable>, args=<unavailable>) at control.c:217 [opt]
frame [#4](https://code.videolan.org/videolan/vlc/-/issues/4): 0x0000000100101b41 libvlccore.dylib`input_Control(p_input=<unavailable>, i_query=<unavailable>) at control.c:58 [opt]
frame [#5](https://code.videolan.org/videolan/vlc/-/issues/5): 0x0000000100112eab libvlccore.dylib`Create(p_parent=<unavailable>, p_item=<unavailable>, psz_header=<unavailable>, b_preparsing=<unavailable>, p_resource=<unavailable>) at input.c:448 [opt]
frame [#6](https://code.videolan.org/videolan/vlc/-/issues/6): 0x00000001000f6edc libvlccore.dylib`Thread [inlined] PlayItem(p_playlist=<unavailable>) at thread.c:210 [opt]
frame [#7](https://code.videolan.org/videolan/vlc/-/issues/7): 0x00000001000f6e6d libvlccore.dylib`Thread [inlined] Next(p_playlist=<unavailable>) at thread.c:460 [opt]
frame [#8](https://code.videolan.org/videolan/vlc/-/issues/8): 0x00000001000f672e libvlccore.dylib`Thread(data=0x0000000100554228) at thread.c:483 [opt]
frame [#9](https://code.videolan.org/videolan/vlc/-/issues/9): 0x00007fffb86279af libsystem_pthread.dylib`_pthread_body + 180
frame [#10](https://code.videolan.org/videolan/vlc/-/issues/10): 0x00007fffb86278fb libsystem_pthread.dylib`_pthread_start + 286
frame [#11](https://code.videolan.org/videolan/vlc/-/issues/11): 0x00007fffb8627101 libsystem_pthread.dylib`thread_start + 13