prevent potential false reads if 'controlswait' is set.

This commit is contained in:
Holger Vogt
2019-10-02 12:04:19 +02:00
parent 76c43c0593
commit 5f4eb3ac61
-2
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