Changeset 8342 for trunk/Ohana/src/addstar/src/wcatalog.c
- Timestamp:
- Aug 14, 2006, 6:27:39 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/wcatalog.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/wcatalog.c
r8001 r8342 5 5 /* output CATMODE and CATFORMAT are set by mkcatalog 6 6 or by mode and format of existing data */ 7 8 /* should this be moved into save_catalog?? */9 gfits_modify (&catalog[0].header, "SORTED", "%t", 1, catalog[0].sorted);10 7 11 8 /* if partial load, must use update */ … … 23 20 } 24 21 25 void free_catalog (Catalog *catalog) {26 27 /* free, initialize data structures */28 if (catalog[0].average != NULL) {29 free (catalog[0].average);30 catalog[0].Naverage = 0;31 }32 if (catalog[0].measure != NULL) {33 free (catalog[0].measure);34 catalog[0].Nmeasure = 0;35 }36 if (catalog[0].missing != NULL) {37 free (catalog[0].missing);38 catalog[0].Nmissing = 0;39 }40 if (catalog[0].secfilt != NULL) {41 free (catalog[0].secfilt);42 catalog[0].Nsecfilt = 0;43 }44 gfits_free_header (&catalog[0].header);45 }
Note:
See TracChangeset
for help on using the changeset viewer.
