IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2006, 8:52:03 PM (20 years ago)
Author:
eugene
Message:

extensive cleanup of memory handling : no more leaks!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psModulesUtils.c

    r6311 r6379  
    180180
    181181  if (config == NULL) return;
     182  psFree (config->site);
     183  psFree (config->camera);
     184  psFree (config->recipe);
     185  psFree (config->arguments);
     186  psFree (config->options);
     187  psFree (config->database);
    182188  return;
    183189}
     
    202208
    203209  if (file == NULL) return;
     210  psFree (file->phu);
     211  psFree (file->filename);
     212  psFree (file->fpa);
     213  psFitsClose (file->fits);
    204214  return;
    205215}
Note: See TracChangeset for help on using the changeset viewer.