Skip to content

Commit

Permalink
Clean up Deark temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-y committed Sep 22, 2023
1 parent 3acc7f5 commit 60391a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified AvalanchePPC.info
Binary file not shown.
3 changes: 2 additions & 1 deletion src/deark.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ static long deark_send_command(void *awin, char *file, int command, char ***list
if(du->last_error) free(du->last_error);
du->last_error = strdup(buf);
Close(fh);
if(!config->debug) DeleteFile(du->tmpfile);
return -1;
}
if(res) total++;
Expand All @@ -165,7 +166,7 @@ static long deark_send_command(void *awin, char *file, int command, char ***list
}

Close(fh);

if(!config->debug) DeleteFile(du->tmpfile);
return(total);
}

Expand Down

0 comments on commit 60391a8

Please sign in to comment.