Changeset 27351 for branches/eam_branches/largefiles.20100314/Ohana
- Timestamp:
- Mar 19, 2010, 8:23:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/libdvo/src/dvo_catalog.c
r27295 r27351 410 410 411 411 void dvo_catalog_free (Catalog *catalog) { 412 413 if (catalog[0].catmode == DVO_MODE_SPLIT) { 414 415 if (catalog[0].measure_catalog) { 416 free (catalog[0].measure_catalog[0].filename); 417 dvo_catalog_free (catalog[0].measure_catalog); 418 free (catalog[0].measure_catalog); 419 } 420 if (catalog[0].missing_catalog) { 421 free (catalog[0].missing_catalog[0].filename); 422 dvo_catalog_free (catalog[0].missing_catalog); 423 free (catalog[0].missing_catalog); 424 } 425 if (catalog[0].secfilt_catalog) { 426 free (catalog[0].secfilt_catalog[0].filename); 427 dvo_catalog_free (catalog[0].secfilt_catalog); 428 free (catalog[0].secfilt_catalog); 429 } 430 } 412 431 dvo_catalog_free_data (catalog); 432 413 433 gfits_free_header (&catalog[0].header); 414 434 }
Note:
See TracChangeset
for help on using the changeset viewer.
