Changeset 4308 for trunk/psLib/src/types
- Timestamp:
- Jun 17, 2005, 1:44:22 PM (21 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 2 edited
-
psLookupTable.c (modified) (2 diffs)
-
psMetadata.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psLookupTable.c
r4167 r4308 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06- 09 00:56:37$9 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-17 23:44:21 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 246 246 247 247 psFree(table->values); 248 psFree( (char*)table->filename);249 psFree( (char*)table->format);248 psFree(table->filename); 249 psFree(table->format); 250 250 } 251 251 -
trunk/psLib/src/types/psMetadata.c
r4094 r4308 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06- 03 02:07:51 $14 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-17 23:44:21 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 89 89 90 90 psHashAdd(table, key, item); // put in the new entry 91 psMemDecrRefCounter(item); // get rid of extra reference 91 92 92 93 // free local references of newly allocated items. 93 94 psFree(newList); 94 psFree(item);95 95 96 96 return item; … … 107 107 } 108 108 109 ps Free(metadataItem->name);110 ps Free(metadataItem->comment);109 psMemDecrRefCounter(metadataItem->name); 110 psMemDecrRefCounter(metadataItem->comment); 111 111 112 112 if(!PS_META_IS_PRIMITIVE(type)) {
Note:
See TracChangeset
for help on using the changeset viewer.
