Skip to content

Commit

Permalink
USBPcapCMD: Fix memory leak
Browse files Browse the repository at this point in the history
CID #1445316
  • Loading branch information
desowin committed May 25, 2019
1 parent e62501d commit d645f80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions USBPcapCMD/descriptors.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ static PUSB_DESCRIPTOR_REQUEST get_config_descriptor(HANDLE hub, ULONG port, UCH
request, nBytes, request, nBytes, &nBytesReturned, NULL))
{
fprintf(stderr, "Failed to get descriptor - %d\n", GetLastError());
free(request);
return NULL;
}

Expand Down

0 comments on commit d645f80

Please sign in to comment.