Remove custom libusb, never really modified it

This commit is contained in:
2020-01-05 16:13:19 -05:00
parent 431b51bb4e
commit 87bd68b697
25 changed files with 2 additions and 13935 deletions

View File

@@ -11,7 +11,7 @@
#include <stdlib.h>
#include <string.h>
#include "libusbi.h"
#include <libusb.h>
#endif
@@ -124,7 +124,6 @@ int open_device_session(struct pwned_device *dev)
if(dev->bundle->ctx == NULL)
{
checkm8_debug_indent("\tbundle ctx is NULL, allocating\n");
dev->bundle->ctx = malloc(sizeof(libusb_context));
libusb_init(&dev->bundle->ctx);
}
else