X-Git-Url: https://git.gag.com/?p=fw%2Fstlink;a=blobdiff_plain;f=src%2Fstlink-usb.c;h=979ba9731bbeb1eee93213a0a8f1d81a756be5fa;hp=2a82b8837230d6f27df12436ecf633cf47bf0ee4;hb=c2d09105f5bc00c5d9896ebf3f2a5595005e6d64;hpb=a4547c31a78dc29c9af2e50d46f6d58bfa7ccd86 diff --git a/src/stlink-usb.c b/src/stlink-usb.c index 2a82b88..979ba97 100644 --- a/src/stlink-usb.c +++ b/src/stlink-usb.c @@ -636,7 +636,6 @@ stlink_t* stlink_open_usb(const int verbose) { slu->usb_handle = libusb_open_device_with_vid_pid(slu->libusb_ctx, USB_ST_VID, USB_STLINK_32L_PID); if (slu->usb_handle == NULL) { - // TODO - free usb context too... WLOG("Couldn't find any ST-Link/V2 devices"); goto on_error; }