1
0
Fork 0
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:
Thomas Jarosch 2011-08-25 20:40:28 +00:00
parent 51ae2e6ffc
commit e0024c9a71

View file

@ -45,7 +45,7 @@ int upload_stage3_code(libusb_device_handle *hdev, char *fn_stage3)
{
fprintf(stderr, "\n[error]: I/O error\n");
fclose(f);
free(f);
free(code);
return -33;
}
fprintf(stderr, "done\n");