소스 검색

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

Steven Dake 21 년 전
부모
커밋
00a710c4e2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      exec/main.c

+ 1 - 0
exec/main.c

@@ -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);
 }