aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_allocation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-02 21:05:43 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-02 21:05:43 +0000
commitba9c0e16195d8468f0a9c080e658f3d3f2131c6a (patch)
treed5ca467343b4f85b04474de784c63b479262831e /src/util/common_allocation.c
parent3951bd96d608ab0f88ccb5a7b4b7e94e15d91a89 (diff)
fixing calculations and code for buffer realloc
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r--src/util/common_allocation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index e62c12d086..21c4690bf2 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -103,6 +103,7 @@ GNUNET_xmalloc_unchecked_ (size_t size, const char *filename, int linenumber)
return result;
}
+
/**
* Reallocate memory. Checks the return value, aborts if no more
* memory is available.
@@ -139,6 +140,7 @@ GNUNET_xrealloc_ (void *ptr,
return ptr;
}
+
/**
* Free memory. Merely a wrapper for the case that we
* want to keep track of allocations.