Merge pull request #11425 from LabNConsulting/chopps/cleanup-redherring-memleaks

lib: cleanup red-herring memleaks in parent of daemonizing fork
This commit is contained in:
Rafael Zalamena 2022-06-17 08:31:07 -03:00 committed by GitHub
commit 38437392b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -963,6 +963,8 @@ static void frr_daemonize(void)
}
close(fds[1]);
nb_terminate();
yang_terminate();
frr_daemon_wait(fds[0]);
}