IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6387


Ignore:
Timestamp:
Feb 8, 2006, 2:38:40 PM (20 years ago)
Author:
Paul Price
Message:

Fixing memory leaks and multiple frees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmFPARead.c

    r6386 r6387  
    178178
    179179        // Only read chips marked to "read"
    180         if (! chip->process || chip->exists) {
     180        if (! chip || ! chip->process || chip->exists) {
    181181            psTrace(__func__, 2, "Ignoring chip %d...\n", i);
    182182            continue;
     
    201201
    202202            // Only read cells marked to "read"
    203             if (! cell->process || cell->exists) {
     203            if (!cell || ! cell->process || cell->exists) {
    204204                psTrace(__func__, 3, "Ignoring chip %d...\n", i);
    205205                continue;
Note: See TracChangeset for help on using the changeset viewer.