[BACK]Return to monitor_mm.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/monitor_mm.c between version 1.2 and 1.3

version 1.2, 2002/03/19 10:35:39 version 1.3, 2002/03/19 10:41:32
Line 75 
Line 75 
         else          else
                 mm = mm_xmalloc(mmalloc, sizeof(struct mm_master));                  mm = mm_xmalloc(mmalloc, sizeof(struct mm_master));
   
         /*          /*
          * If the memory map has a mm_master it can be completely           * If the memory map has a mm_master it can be completely
          * shared including authentication between the child           * shared including authentication between the child
          * and the client.           * and the client.
Line 163 
Line 163 
         if (mms == NULL)          if (mms == NULL)
                 return (NULL);                  return (NULL);
   
         /* Debug */          /* Debug */
         memset(mms->address, 0xd0, size);          memset(mms->address, 0xd0, size);
   
         tmp = mm_make_entry(mm, &mm->rb_allocated, mms->address, size);          tmp = mm_make_entry(mm, &mm->rb_allocated, mms->address, size);
Line 195 
Line 195 
         if (mms == NULL)          if (mms == NULL)
                 fatal("mm_free(%p): can not find %p", mm, address);                  fatal("mm_free(%p): can not find %p", mm, address);
   
         /* Debug */          /* Debug */
         memset(mms->address, 0xd0, mms->size);          memset(mms->address, 0xd0, mms->size);
   
         /* Remove from allocated list and insert in free list */          /* Remove from allocated list and insert in free list */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3