Explorar el Código

add in missing mutex unlock

(Logical change 1.116)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@406 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp hace 21 años
padre
commit
37c27a4f35
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/evt.c

+ 1 - 0
lib/evt.c

@@ -778,6 +778,7 @@ saEvtChannelOpen(
 
 
 	error = saSendRetry(evti->ei_fd, &req, sizeof(req), MSG_NOSIGNAL);
 	error = saSendRetry(evti->ei_fd, &req, sizeof(req), MSG_NOSIGNAL);
 	if (error != SA_OK) {
 	if (error != SA_OK) {
+		pthread_mutex_unlock (&evti->ei_mutex);
 		goto chan_open_free;
 		goto chan_open_free;
 	}
 	}
 	error = saRecvQueue(evti->ei_fd, &res, &evti->ei_inq, 
 	error = saRecvQueue(evti->ei_fd, &res, &evti->ei_inq,