Fix merge error that causes double free when downloading from EON Steel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cb0584adc1
commit
515dc17914
@ -751,7 +751,6 @@ suunto_eonsteel_device_close(dc_device_t *abstract)
|
|||||||
libusb_close(eon->handle);
|
libusb_close(eon->handle);
|
||||||
libusb_exit(eon->ctx);
|
libusb_exit(eon->ctx);
|
||||||
#endif
|
#endif
|
||||||
free(eon);
|
|
||||||
|
|
||||||
return DC_STATUS_SUCCESS;
|
return DC_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user