jdk/src/jdk.sctp/unix/native/libsctp/SctpChannelImpl.c
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
child 28970 aaec841a1a3c
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   505 #endif
   505 #endif
   506             snp = (union sctp_notification *) bufp;
   506             snp = (union sctp_notification *) bufp;
   507             if (handleNotification(env, fd, resultContainerObj, snp, rv,
   507             if (handleNotification(env, fd, resultContainerObj, snp, rv,
   508                                    (msg->msg_flags & MSG_EOR),
   508                                    (msg->msg_flags & MSG_EOR),
   509                                    (struct sockaddr*)&sa ) == JNI_TRUE) {
   509                                    (struct sockaddr*)&sa ) == JNI_TRUE) {
   510                 /* We have received a notification that is of interest to
   510                 /* We have received a notification that is of interest
   511                    to the Java API. The appropriate notification will be
   511                    to the Java API. The appropriate notification will be
   512                    set in the result container. */
   512                    set in the result container. */
   513                 if (allocated == JNI_TRUE) {
   513                 if (allocated == JNI_TRUE) {
   514                     free(bufp);
   514                     free(bufp);
   515                 }
   515                 }