Changeset 7f02ee73 in rtems


Ignore:
Timestamp:
Apr 3, 2000, 5:30:31 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
562f5c8
Parents:
33677ef5
Message:

Patch from Eric Norum <eric@…> to prevent leaking MT_SONAME
mbuf's in the network stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libnetworking/rtems/rtems_syscall.c

    r33677ef5 r7f02ee73  
    138138        error = soconnect (so, nam);
    139139        if (error) {
     140                m_freem(nam);
    140141                errno = error;
    141142                rtems_bsdnet_semaphore_release ();
     
    606607                error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, m);
    607608        if (error) {
     609                m_freem(m);
    608610                errno = error;
    609611                rtems_bsdnet_semaphore_release ();
Note: See TracChangeset for help on using the changeset viewer.