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/pzgetimfilesConfig.c

    r17741 r18172  
    7979
    8080    // define Database handle, if used
    81     config->dbh = pmConfigDB(config->modules);
     81    config->dbh = psMemIncrRefCounter(pmConfigDB(config->modules));
    8282    if(!config->dbh) {
    8383        psError(PS_ERR_UNKNOWN, false, "Can't connect to db\n");
Note: See TracChangeset for help on using the changeset viewer.