Fix memory leak.

(Logical change 1.192)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@631 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Mark Haverkamp 2005-05-25 20:42:45 +00:00
parent 8161106dfe
commit c4d6184eb5

View File

@ -170,7 +170,8 @@ test_subscription()
if (pfd.revents & (POLLERR|POLLHUP)) {
printf("Error recieved on poll fd %lld\n", fd);
return SA_AIS_ERR_BAD_OPERATION;
result = SA_AIS_ERR_BAD_OPERATION;
goto sub_fin;
}
do {
result = saEvtDispatch(handle, SA_DISPATCH_ONE);
@ -304,7 +305,7 @@ event_callback( SaEvtSubscriptionIdT subscription_id,
}
if (event_id == SA_EVT_EVENTID_LOST) {
return;
goto evt_free;
}
#ifdef TEST_EVENT_ORDER