IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7660


Ignore:
Timestamp:
Jun 23, 2006, 12:53:56 PM (20 years ago)
Author:
jhoblitt
Message:

fix accidental free'ing of a lookuptable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r7655 r7660  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-06-23 21:12:54 $
     14 *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-06-23 22:53:56 $
    1616 *
    1717 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    161161        pthread_mutex_lock(&lookupTableMutex);
    162162
     163        // psDBPTypeToSQLTableSetu must be run first
    163164        psDBPTypeToSQLTableSetup();
    164165        psDBSQLToPTypeTableSetup();
     
    168169        pthread_mutex_unlock(&lookupTableMutex);
    169170    } else {
     171        // psDBPTypeToSQLTableSetu must be run first
    170172        psDBPTypeToSQLTableSetup();
    171173        psDBSQLToPTypeTableSetup();
     
    17181720        psFree(cursor);
    17191721        psFree(list);
    1720         psFree(psToSQLTable);
    17211722    } else {
    17221723        // increment the ref count by one for every psDB
Note: See TracChangeset for help on using the changeset viewer.