| 119 | } |
| 120 | |
| 121 | static void free_seq_col(struct seq_col* scol) |
| 122 | { |
| 123 | unsigned int length = scol->length; |
| 124 | unsigned int i; |
| 125 | for (i=0; i<length; i++) |
| 126 | free((scol->seqs[i]).data); |
| 127 | free(scol->seqs); |
| 128 | free(scol); |
| 129 | } |
| 130 | |
| 131 | /** Print a dialign alignment. */ |
| 132 | static ostream& print(ostream& out, const alignment& o, |