IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2007, 2:46:42 PM (19 years ago)
Author:
Paul Price
Message:

Attempting to psFree something not on psLib memory system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r13101 r13207  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.91 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-05-01 03:53:11 $
     6 *  @version $Revision: 1.92 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-05-04 00:46:42 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717#include <stdio.h>
    1818#include <string.h>
    19 #include <strings.h>            /* for strn?casecmp */
     19#include <strings.h>            /* for strn?casecmp */
    2020#include <unistd.h>
    2121#include <libgen.h>
     
    246246        }
    247247        if (item->type != PS_DATA_STRING) {
    248            psTrace("config", 2, "Element %s in %s metadata is not of type STR.\n",
    249                    item->name, description);
    250            continue;
     248           psTrace("config", 2, "Element %s in %s metadata is not of type STR.\n",
     249                   item->name, description);
     250           continue;
    251251        }
    252252
     
    254254        psMetadata *new = NULL;         // New metadata
    255255        if (!pmConfigFileRead(&new, item->data.str, item->name)) {
    256             psError(PM_ERR_CONFIG, false, "Trouble reading reading %s %s --- "
    257                     "ignored.\n", description, item->name);
     256            psError(PM_ERR_CONFIG, false, "Trouble reading reading %s %s --- "
     257                    "ignored.\n", description, item->name);
    258258            psFree(new);
    259             psFree(iter);
    260             return false;
     259            psFree(iter);
     260            return false;
    261261        }
    262262
     
    518518                psFree(config);
    519519                return NULL;
    520             }
    521            
     520            }
     521
    522522            psArgumentRemove(argNum, argc, argv);
    523523
     
    12161216        // convert nebfile into a psString
    12171217        psString path = psStringCopy(nebfile);
    1218         psFree(nebfile);
     1218        nebFree(nebfile);
    12191219        nebServerFree(server);
    12201220
Note: See TracChangeset for help on using the changeset viewer.