Changeset: dc4752cf3f4b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dc4752cf3f4b
Modified Files:
        sql/storage/store.c
Branch: smart-merge-jan22
Log Message:

Use GDKmalloc.


diffs (12 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- 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) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to