Call poll_destroy when executing ais_done. This increases code

coverage from 66.9% to 82.3%.

(Logical change 1.72)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@255 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2004-09-15 20:54:42 +00:00
parent bda91bf27f
commit 00a710c4e2

View File

@ -110,6 +110,7 @@ enum e_ais_done {
static inline void ais_done (enum e_ais_done err)
{
log_printf (LOG_LEVEL_ERROR, "AIS Executive exiting.\n");
poll_destroy (aisexec_poll_handle);
exit (1);
}