summaryrefslogtreecommitdiffhomepage
path: root/ir/lpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-01-29 15:31:38 +0100
committerMatthias Braun <matze@braunis.de>2013-01-29 15:31:38 +0100
commit77a5e3d147221f1fe4c58859ca834ed64089d6b5 (patch)
tree25e1f29b27f919bf1560ed23de1d8459ceca5585 /ir/lpp
parent8890a7c6fc0ead279116169b789ca5ba08c5daf9 (diff)
remove xfree(), bitset_free() and use free() instead
Diffstat (limited to 'ir/lpp')
-rw-r--r--ir/lpp/sp_matrix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ir/lpp/sp_matrix.c b/ir/lpp/sp_matrix.c
index 51c49b5..59cd2cb 100644
--- a/ir/lpp/sp_matrix.c
+++ b/ir/lpp/sp_matrix.c
@@ -284,19 +284,19 @@ void del_matrix(sp_matrix_t *m)
/* get current matrix element */
e = _container_of(n, entry_t, row_chain);
n = n->next;
- xfree(e);
+ free(e);
} while (n != NULL);
}
- xfree(m->rows[i]);
+ free(m->rows[i]);
}
for (i = 0; i < m->colc; ++i)
- xfree(m->cols[i]);
- xfree(m->last_col_el);
- xfree(m->last_row_el);
- xfree(m->rows);
- xfree(m->cols);
- xfree(m);
+ free(m->cols[i]);
+ free(m->last_col_el);
+ free(m->last_row_el);
+ free(m->rows);
+ free(m->cols);
+ free(m);
}
void matrix_set(sp_matrix_t *m, int row, int col, double val)