gui/qt: info_panels: fix leak + potential null-dereference
vlc_meta_CopyExtraNames returns a pointer to a dynamically allocated
resource, this should of course be cleaned up after it is used; we
should also not assume that the function is always successful, but
instead check to see that we really have data to use in order to
prevent *undefined-behavior*.
CID: #1401545
Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Showing
Please register or sign in to comment