cvsuser     02/03/29 11:13:09

  Modified:    .        memory.c
  Log:
  Memory corruption bugfix courtesy of Peter Gibbs <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.30      +2 -2      parrot/memory.c
  
  Index: memory.c
  ===================================================================
  RCS file: /cvs/public/parrot/memory.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -w -r1.29 -r1.30
  --- memory.c  18 Mar 2002 16:42:06 -0000      1.29
  +++ memory.c  29 Mar 2002 19:13:08 -0000      1.30
  @@ -1,7 +1,7 @@
   /* memory.c
    *  Copyright: (When this is determined...it will go here)
    *  CVS Info
  - *     $Id: memory.c,v 1.29 2002/03/18 16:42:06 dan Exp $
  + *     $Id: memory.c,v 1.30 2002/03/29 19:13:08 mrjoltcola Exp $
    *  Overview:
    *     The memory (mem) API handles memory allocation
    *  Data Structure and Algorithms:
  @@ -145,7 +145,7 @@
   {
       size_t copysize = (fromsize > tosize ? tosize : fromsize);
       void *mem;
  -    mem = Parrot_allocate(interpreter, copysize);
  +    mem = Parrot_allocate(interpreter, tosize);
       if (!mem) {
           return NULL;
       }
  
  
  


Reply via email to