IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8073


Ignore:
Timestamp:
Aug 2, 2006, 11:21:14 AM (20 years ago)
Author:
jhoblitt
Message:

fix memory leak in handling psError objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r8063 r8073  
    143143        psErr *err = psErrorLast();
    144144        if (strstr(err->msg, "no p2PendingExp rows found")) {
     145            psFree(err);
    145146            return true;
    146147        } else {
    147148            psError(PS_ERR_UNKNOWN, false, "no p2PendingFrames found");
     149            psFree(err);
    148150            return false;
    149151        }
     152        psFree(err);
    150153    }
    151154    bool status = p2PendingFramePrint(stdout, config, pendingFrames);
Note: See TracChangeset for help on using the changeset viewer.