diff options
-rw-r--r-- | utils/rk27utils/rk27load/stage3_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rk27utils/rk27load/stage3_upload.c b/utils/rk27utils/rk27load/stage3_upload.c index 6f10a7c995..d86deceb81 100644 --- a/utils/rk27utils/rk27load/stage3_upload.c +++ b/utils/rk27utils/rk27load/stage3_upload.c | |||
@@ -45,7 +45,7 @@ int upload_stage3_code(libusb_device_handle *hdev, char *fn_stage3) | |||
45 | { | 45 | { |
46 | fprintf(stderr, "\n[error]: I/O error\n"); | 46 | fprintf(stderr, "\n[error]: I/O error\n"); |
47 | fclose(f); | 47 | fclose(f); |
48 | free(f); | 48 | free(code); |
49 | return -33; | 49 | return -33; |
50 | } | 50 | } |
51 | fprintf(stderr, "done\n"); | 51 | fprintf(stderr, "done\n"); |