mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Fix memory leak in libusb code
This commit is contained in:
parent
0366122306
commit
54850e936c
@ -636,6 +636,7 @@ static void AddGCAdapter(libusb_device* device)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
libusb_free_config_descriptor(config);
|
||||||
|
|
||||||
int size = 0;
|
int size = 0;
|
||||||
std::array<u8, CONTROLER_OUTPUT_INIT_PAYLOAD_SIZE> payload = {0x13};
|
std::array<u8, CONTROLER_OUTPUT_INIT_PAYLOAD_SIZE> payload = {0x13};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user