IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7976


Ignore:
Timestamp:
Jul 25, 2006, 3:37:54 PM (20 years ago)
Author:
jhoblitt
Message:

fix premature free'ing of mysql result data in psDBDumpCols()

File:
1 edited

Legend:

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

    r7975 r7976  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.71 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-07-26 01:15:56 $
     14 *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-07-26 01:37:54 $
    1616 *
    1717 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    630630    field = mysql_fetch_fields(result);
    631631    fieldCount = mysql_num_fields(result);
    632     // Clean up mysql memory
    633     mysql_free_result(result);
    634632
    635633    // this metadata is returned
     
    657655        }
    658656    }
     657
     658    // Clean up mysql memory
     659    mysql_free_result(result);
    659660
    660661    return table;
Note: See TracChangeset for help on using the changeset viewer.