aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_allocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r--src/util/common_allocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index 9fabb3a32..71ebb0905 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -48,7 +48,7 @@ GNUNET_xmalloc_ (size_t size, const char *filename, int linenumber)
48{ 48{
49 /* As a security precaution, we generally do not allow very large 49 /* As a security precaution, we generally do not allow very large
50 allocations using the default 'GNUNET_malloc' macro */ 50 allocations using the default 'GNUNET_malloc' macro */
51 GNUNET_assert_at (size <= GNUNET_MAX_GNUNET_MALLOC_CHECKED, filename, 51 GNUNET_assert_at (size <= GNUNET_MAX_MALLOC_CHECKED, filename,
52 linenumber); 52 linenumber);
53 return GNUNET_xmalloc_unchecked_ (size, filename, linenumber); 53 return GNUNET_xmalloc_unchecked_ (size, filename, linenumber);
54} 54}