Not necessarily. It depends on the details of the error(s) that led to the problem.
If you fire people who make honest mistakes you are motivating them to cover up their mistakes. Modern safety systems at US airlines seek to do the opposite. They encourage people to report their mistakes so that threats can be identified and corrected before they lead errors.
Someone will be fired if they were negligent or attempted to cover up the problem. Short of that, the data gathered will be used to improve the process, fix loopholes that allowed the mistake(s) to go undetected, and to train employees on the process, how it failed, and how to prevent similar failures in the future.