IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2008, 1:54:43 PM (18 years ago)
Author:
Paul Price
Message:

Fixing double free following API change to pmConfigDB

File:
1 edited

Legend:

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

    r17655 r18172  
    257257    // do this last so we don't setup a connection before CLI options are
    258258    // validated
    259     config->dbh = pmConfigDB(config->modules);
     259    config->dbh = psMemIncrRefCounter(pmConfigDB(config->modules));
    260260    if (!config->dbh) {
    261261        psError(PS_ERR_UNKNOWN, false, "Can't configure database");
Note: See TracChangeset for help on using the changeset viewer.