IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8668 for trunk/psLib/src


Ignore:
Timestamp:
Aug 29, 2006, 10:23:54 AM (20 years ago)
Author:
drobbin
Message:

debugged and updated wrt recent major patch applied by JH. LogMsg was memory leaking, some printf statements needed updating and slight modifications to tests.

Location:
trunk/psLib/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psLogMsg.c

    r8604 r8668  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.62 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-08-25 22:06:08 $
     13 *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-08-29 20:23:54 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    351351            line = strtok_r(NULL, "\n", &msgPtr);
    352352        }
     353        psFree(msg);
    353354    } else {
    354355        write(logFD, "\n", 1);
  • trunk/psLib/src/types/psHash.c

    r8627 r8668  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-08-26 04:34:28 $
     14*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-08-29 20:23:54 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  • trunk/psLib/src/types/psMetadata.c

    r8627 r8668  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.129 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-08-26 04:34:28 $
     14 *  @version $Revision: 1.130 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-08-29 20:23:54 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    267267        {
    268268            char *string = va_arg(argPtr, char *);
    269             metadataItem->data.V =
     269            metadataItem->data.str =
    270270                string ? psStringNCopy(string, MAX_STRING_LENGTH)
    271271                : NULL;
     
    14411441
    14421442    psMetadata *folder = psMetadataAlloc ();
    1443     psMetadataAdd (md, PS_LIST_TAIL, root, PS_DATA_METADATA, "folder for 2D polynomial", folder);
    1444     psFree (root);
    14451443
    14461444    // specify the polynomial orders
     
    14591457        }
    14601458    }
     1459    psMetadataAdd (md, PS_LIST_TAIL, root, PS_DATA_METADATA, "folder for 2D polynomial", folder);
     1460    psFree (root);
     1461    psFree(folder);
    14611462    return true;
    14621463}
Note: See TracChangeset for help on using the changeset viewer.