IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39484 for trunk


Ignore:
Timestamp:
Mar 27, 2016, 1:24:13 PM (10 years ago)
Author:
eugene
Message:

free memory

Location:
trunk/Ohana/src/dvolens/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvolens/src/ConfigInit.c

    r37358 r39484  
    3434  }
    3535
     36  FreeConfigFile();
    3637  free (config);
    3738  free (file);
  • trunk/Ohana/src/dvolens/src/dvolens.c

    r38986 r39484  
    1111    case MODE_UPDATE_OBJECTS:
    1212      update_objects ();
     13      FREE (UserCatalog);
     14      FREE (CATDIR);
     15      ohana_memcheck (VERBOSE);
     16      ohana_memdump (VERBOSE);
     17      fprintf (stderr, "done with dvolens\n");
    1318      exit (0);
    1419
  • trunk/Ohana/src/dvolens/src/dvolens_client.c

    r37358 r39484  
    1717      update_objects ();
    1818      client_logger_message ("updated objects\n");
     19      FREE (HOSTDIR);
     20      FREE (CATDIR);
     21      ohana_memcheck (VERBOSE);
     22      ohana_memdump (VERBOSE);
    1923      break;
    2024
  • trunk/Ohana/src/dvolens/src/update_objects.c

    r38986 r39484  
    110110  fprintf (stderr, "time step 3  %10.3f sec : update catalog\n", time3);
    111111  fprintf (stderr, "time step 4  %10.3f sec : save catalog\n", time4);
     112
     113  SkyTableFree (sky);
     114  SkyListFree(skylist);
     115  FreePhotcodeTable();
    112116}
    113117
     
    161165    fprintf (stderr, "command: %s\n", command);
    162166
    163     if (PARALLEL_MANUAL) continue;
     167    if (PARALLEL_MANUAL) {
     168      continue;
     169    }
    164170
    165171    if (PARALLEL_SERIAL) {
  • trunk/Ohana/src/dvolens/src/update_objects_catalog.c

    r39108 r39484  
    275275  free (Myy_obj);
    276276
     277  free (N5);
     278  free (N6);
     279  free (N7);
     280
    277281  myIndexFree (measureIndex);
    278282
Note: See TracChangeset for help on using the changeset viewer.