Potential memory leak in Close
maksymko opened this issue · comments
Maxim Sloyko commented
Close()
only calls ftdi_deinit(mpsse->ftdi)
if mpsse
was open.
However, Open()
initializes mpsse->ftdi
long before setting mpsse->open = 1
and only does that if some other conditions are true.