Show
Ignore:
Timestamp:
01/03/08 20:28:10 (11 months ago)
Author:
peter
Message:

source/punch_fits.cpp:

Bug-fix - fix memory leak.

source/parse_table.cpp:
source/cdgetlinelist.cpp:
source/optimize_phymir.cpp:

Bug-fix - close open files.

source/cdinit.cpp:

Bug-fix - do not flush ioQQQ as it may not be open any longer.

source/cont_createpointers.cpp:

Bug-fix - fix out-of-bounds array access.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/optimize_phymir.cpp

    r1557 r1728  
    171171                        yp[0] = (realnum)optimize_func(xc); 
    172172                        wr_block(&yp[0],(size_t)sizeof(realnum),fnam1); 
     173                        fclose( ioQQQ ); 
    173174                        cdEXIT(EXIT_SUCCESS); 
    174175                } 
     
    291292                                        yp[jj] = (realnum)optimize_func(xhlp); 
    292293                                        wr_block(&yp[jj],(size_t)sizeof(realnum),fnam1); 
     294                                        fclose( ioQQQ ); 
    293295                                        cdEXIT(EXIT_SUCCESS); 
    294296                                }