Skip to content

Commit 18e8e38

Browse files
authored
Change free to free_aligned (#8755)
1 parent c991c0b commit 18e8e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gmt_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9209,7 +9209,7 @@ void gmtlib_free_vector_ptr (struct GMT_CTRL *GMT, struct GMT_VECTOR *V, bool fr
92099209
for (unsigned int k = 0; k < V->n_headers; k++) gmt_M_str_free (V->header[k]);
92109210
gmt_M_free (GMT, V->header);
92119211
}
9212-
gmt_M_free (GMT, V->data); /* Sometimes we free a V that has nothing allocated so must check */
9212+
gmt_M_free_aligned (GMT, V->data); /* Sometimes we free a V that has nothing allocated so must check */
92139213
gmt_M_free (GMT, V->type);
92149214
gmt_M_free (GMT, VH->alloc_mode);
92159215
gmt_M_free (GMT, V->hidden);

0 commit comments

Comments
 (0)