IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2005, 3:05:06 PM (21 years ago)
Author:
jhoblitt
Message:

fix potential memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/pop.tt

    r4339 r4340  
    3232    if (!status) {
    3333        // psError(); something bad happened
     34        psFree(row);
    3435        return NULL;
    3536    }
     
    4142    if (deleted != 1) {
    4243        // psError(); something bad happened
     44        psFree(popped);
     45        psFree(row);
    4346        return NULL;
    4447    }
     48
    4549    psFree(popped);
    4650
     
    5559    if (!status) {
    5660        // psError(); something bad happened
     61        psFree(row);
    5762        return false;
    5863    }
Note: See TracChangeset for help on using the changeset viewer.