prevent potential false reads if 'controlswait' is set.

This commit is contained in:
Holger Vogt 2019-10-02 12:04:19 +02:00
parent 03c5870034
commit a4402f1da7
1 changed files with 0 additions and 2 deletions

View File

@ -443,8 +443,6 @@ void
exec_controls(wordlist *newcontrols) exec_controls(wordlist *newcontrols)
{ {
if (newcontrols) { if (newcontrols) {
if (shcontrols)
wl_free(shcontrols);
shcontrols = newcontrols; shcontrols = newcontrols;
} }
#ifdef THREADS #ifdef THREADS