IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2006, 12:03:03 PM (20 years ago)
Author:
Paul Price
Message:

Squashing memory leaks.

File:
1 edited

Legend:

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

    r6618 r6739  
    124124                    bool mdok = true;       // Status of MD lookup
    125125                    psString source = psMetadataLookupStr(&mdok, cell->config, nameSource); // The source
     126                    psFree(nameSource);
    126127                    if (mdok && strlen(source) > 0 && strcasecmp(source, "VALUE") == 0) {
    127128                        value = psMemIncrRefCounter(conceptItem);
     
    207208                    psStringAppend(&nameSource, "%s.SOURCE", name);
    208209                    psString source = psMetadataLookupStr(&mdok, cell->config, nameSource); // The source
     210                    psFree(nameSource);
    209211                    if (mdok && strlen(source) && strcasecmp(source, "HEADER") == 0) {
    210212                        headerItem = psMetadataLookup(hdu->header, conceptItem->data.V);
Note: See TracChangeset for help on using the changeset viewer.