Changeset dd0f326 in rtems for cpukit/libcsupport/src/chown.c


Ignore:
Timestamp:
Oct 12, 1999, 7:10:46 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
51435fc7
Parents:
e2116f9
Message:

Added rtems_filesystem_freenode() macro and added calls at appropriate
places to make sure memory allocated for filesystem specifif nodes
gets freed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/chown.c

    re2116f9 rdd0f326  
    3434 
    3535  if ( !loc.ops->chown ) {
    36     if ( loc.ops->freenod )
    37       (*loc.ops->freenod)( &loc );
     36    rtems_filesystem_freenode( &loc );
    3837    set_errno_and_return_minus_one( ENOTSUP );
    3938  }
     
    4140  result = (*loc.ops->chown)( &loc, owner, group );
    4241
    43   if ( loc.ops->freenod )
    44     (*loc.ops->freenod)( &loc );
     42  rtems_filesystem_freenode( &loc );
    4543 
    4644  return result;
Note: See TracChangeset for help on using the changeset viewer.