tweaks: move a call to where it will be executed [coverity scan]

master
Benno Schulenberg 2018-07-14 21:02:32 +02:00
parent 3227ba46d9
commit 14b9a42f5b
1 changed files with 2 additions and 2 deletions

View File

@ -3238,6 +3238,8 @@ void do_linter(void)
}
}
free(dontwantfile);
if (restlint == NULL) {
statusbar(_("No more errors in unopened files, cancelling"));
napms(2400);
@ -3246,8 +3248,6 @@ void do_linter(void)
curlint = restlint;
continue;
}
free(dontwantfile);
#ifdef ENABLE_MULTIBUFFER
}
}