IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2006, 4:48:43 PM (20 years ago)
Author:
jhoblitt
Message:

free config

File:
1 edited

Legend:

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

    r6341 r6370  
    1818        case PX_MODE_PENDING:
    1919            if (!pendingMode(config)) {
    20                 exit(EXIT_FAILURE);
     20                goto FAIL;
    2121            }
    2222            break;
    2323        case PX_MODE_UPDATE:
    2424            if (!updateMode(config)) {
    25                 exit(EXIT_FAILURE);
     25                goto FAIL;
    2626            }
    2727            break;
     
    3131
    3232    exit(EXIT_SUCCESS);
     33
     34FAIL:
     35    psFree(config);
     36    exit(EXIT_FAILURE);
    3337}
    3438
Note: See TracChangeset for help on using the changeset viewer.