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,6 +655,7 @@ int main (int argc, char **argv) ...@@ -655,6 +655,7 @@ int main (int argc, char **argv)
_exit(0); _exit(0);
} }
} }
else
closedir(dir); closedir(dir);
} }
...@@ -670,6 +671,7 @@ int main (int argc, char **argv) ...@@ -670,6 +671,7 @@ int main (int argc, char **argv)
_exit(0); _exit(0);
} }
} }
else
closedir(dir); closedir(dir);
} }
} }
......
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