FIXED: Merged all Holimans code-review issues which should fix a lot of memoryleaks.
This commit is contained in:
1 parent
7c756d6892
commit
a61b4976bd
18 files changed
+142
-137
No files matched your search
+4
-2
@@ -137,9 +137,11 @@ int getCommand(UsbCommand* response)
|
||||
* @return true if command was returned, otherwise false
|
||||
*/
|
||||
bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout) {
|
||||
|
||||
|
||||
UsbCommand resp;
|
||||
|
||||
if (response == NULL) {
|
||||
UsbCommand resp;
|
||||
|
||||
response = &resp;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user