• Petri Hintukainen's avatar
    dvdinput_close(): fix leak in error path · 54c4660e
    Petri Hintukainen authored
    Memory should be freed even if DVDCSS_close() or close() returns an error.
    Error return value is only for diagnostics; those functions can't be called again.
    => dvdinput_close() can't be called again.
    54c4660e
dvd_input.c 9.82 KB