src/server/ucx/allocator.c

Fri, 01 Mar 2013 21:15:52 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 01 Mar 2013 21:15:52 +0100
changeset 52
aced2245fb1c
parent 36
450d2d5f4735
child 71
069c152f6272
permissions
-rw-r--r--

new pathcheck saf and code cleanup

#include <stdlib.h>
#include "allocator.h"

void *ucx_default_malloc(void *ignore, size_t n) {
    return malloc(n);
}

void *ucx_default_calloc(void *ignore, size_t n, size_t size) {
    return calloc(n, size);
}

void *ucx_default_realloc(void *ignore, void *data, size_t n) {
    return realloc(data, n);
}

mercurial