summaryrefslogtreecommitdiff
path: root/p11-kit/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/util.c')
-rw-r--r--p11-kit/util.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/p11-kit/util.c b/p11-kit/util.c
index 89ecc40..f8ec1e6 100644
--- a/p11-kit/util.c
+++ b/p11-kit/util.c
@@ -74,15 +74,6 @@ pthread_once_t _p11_once;
static int print_messages = 1;
-void*
-_p11_realloc (void *memory, size_t length)
-{
- void *allocated = realloc (memory, length);
- if (!allocated)
- free (memory);
- return allocated;
-}
-
/**
* p11_kit_space_strlen:
* @string: Pointer to string block