Commit b4c0f092 authored by Stefan Tomanek's avatar Stefan Tomanek Committed by Simon Kelley

Fix (srk induced) crash in new tftp_no_fail code.

parent 78c61847
......@@ -655,7 +655,8 @@ int main (int argc, char **argv)
_exit(0);
}
}
closedir(dir);
else
closedir(dir);
}
for (p = daemon->if_prefix; p; p = p->next)
......@@ -670,7 +671,8 @@ int main (int argc, char **argv)
_exit(0);
}
}
closedir(dir);
else
closedir(dir);
}
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment