abort() on OOM
This commit is contained in:
parent
e9d1c7ba00
commit
a74e150375
4
crypto.c
4
crypto.c
@ -467,7 +467,7 @@ smc_init2 (uint16_t size1, uint16_t size2)
|
||||
weprintf ("could not init point in 2 dimensional array. "
|
||||
"out of memory?");
|
||||
smc_free2 (ret, size1, size2);
|
||||
return NULL;
|
||||
GNUNET_assert (0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -530,7 +530,7 @@ smc_init3 (uint16_t size1, uint16_t size2, uint16_t size3)
|
||||
weprintf ("could not init point in 2 dimensional array. "
|
||||
"out of memory?");
|
||||
smc_free3 (ret, size1, size2, size3);
|
||||
return NULL;
|
||||
GNUNET_assert (0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user