Skip to content

Leak on unknown CLI option

% ./vlc --notexist
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-17718-g55a30c6d44)
Error: Unknown option `--notexist'
       Did you mean --notelx-ignore-subtitle-flag?
For more information try --help

=================================================================
==342762==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 20 byte(s) in 1 object(s) allocated from:
    #0 0x7fcce08dc7cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7fccde8aee27 in __vasprintf_internal libio/vasprintf.c:71

SUMMARY: AddressSanitizer: 20 byte(s) leaked in 1 allocation(s).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information