forked from len0rd/rockbox
Fix free on wrong variable
Credit goes to "cppcheck" again ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30353 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
51ae2e6ffc
commit
e0024c9a71
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ int upload_stage3_code(libusb_device_handle *hdev, char *fn_stage3)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\n[error]: I/O error\n");
|
fprintf(stderr, "\n[error]: I/O error\n");
|
||||||
fclose(f);
|
fclose(f);
|
||||||
free(f);
|
free(code);
|
||||||
return -33;
|
return -33;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "done\n");
|
fprintf(stderr, "done\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue