defect 1066

original 1066 fix introduced new bug found with saftest


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@918 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2006-02-10 22:38:43 +00:00
parent 96deb78110
commit ab525116aa

View File

@ -1401,14 +1401,14 @@ saCkptSectionIterationNext (
error_put_unlock:
pthread_mutex_unlock (&ckptSectionIterationInstance->response_mutex);
if (error != SA_AIS_OK) {
free (iteratorSectionIdListEntry);
}
error_put_nounlock:
saHandleInstancePut (&ckptSectionIterationHandleDatabase, sectionIterationHandle);
error_exit:
if (error != SA_AIS_OK) {
free (iteratorSectionIdListEntry);
}
return (error);
}