Mercurial > hg > MonetDB
changeset 86166:dc4752cf3f4b smart-merge-jan22
Use GDKmalloc.
| author | Aris Koning <aris.koning@monetdbsolutions.com> |
|---|---|
| date | Tue, 26 Jul 2022 14:57:49 +0200 |
| parents | 5873fe7ba498 |
| children | 63bd719a1528 |
| files | sql/storage/store.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sql/storage/store.c +++ b/sql/storage/store.c @@ -60,7 +60,7 @@ store_oldest(sqlstore *store) static ulng * store_get_active(sqlstore *store, sql_trans* tr) { - ulng *active = malloc(sizeof(ulng) * store->active->cnt); + ulng *active = GDKmalloc(sizeof(ulng) * store->active->cnt); node *cur = store->active->h; int j = 0; for (int i = 0; i < store->active->cnt; i++, cur = cur->next) {
