diff options
author | amy <[email protected]> | 2023-05-18 09:06:21 +0000 |
---|---|---|
committer | amy <[email protected]> | 2023-05-18 09:06:21 +0000 |
commit | 303f6c61f9d0bbf1b4f962301c45f9439b5230c3 (patch) | |
tree | 21811eec9e5a7affb0983eb6ec69814c55260965 /src/util.c | |
parent | 15a65db6a1bf6fd33a5496988501e6b8670e0191 (diff) |
even more fixes:3
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ double binomial(int n, int k){ } void* mmalloc(size_t X,char*file,int line,char*func){ void* mal = (malloc)(X); + if(mal==NULL) + abort(); #ifdef memory_trace if(allocations==NULL){ allocations=(malloc)(sizeof(*allocations)*2); |