Changeset 42019
- Timestamp:
- Feb 7, 2022, 11:01:52 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/psLib/src/fits/psFitsTableNew.c
r41896 r42019 97 97 freeTable(psFitsTable *table) 98 98 { 99 if (!table) return; 99 100 for (int col = 0; col < table->numCols; col++) { 100 101 psFitsTableColumn *column = &table->columns[col]; … … 176 177 { 177 178 // add any element frees here 179 if (!column) return; 180 181 psFree (column->name); 178 182 return; 179 183 } … … 195 199 psFitsTableColumn *column = psFitsTableColumnAlloc (name, type); 196 200 psArrayAdd (tableColumns, 10, column); 201 psFree (column); 197 202 return true; 198 203 }
Note:
See TracChangeset
for help on using the changeset viewer.
