IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6744


Ignore:
Timestamp:
Mar 30, 2006, 4:18:49 PM (20 years ago)
Author:
Paul Price
Message:

Can't merely increment the reference counter, but need to create a new psMetadataItem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmConcepts.c

    r6738 r6744  
    9292        // Trap the lists, which can't be copied in the ordinary way without a warning
    9393        if (blank->type == PS_DATA_LIST) {
    94             copy = psMemIncrRefCounter(blank);
     94            copy = psMetadataItemAllocPtr(blank->name, PS_DATA_LIST, blank->comment, blank->data.V);
    9595        } else {
    9696            copy = psMetadataItemCopy(blank);
Note: See TracChangeset for help on using the changeset viewer.