aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_create.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-11 19:41:16 +0200
committerMattias Andrée <maandree@kth.se>2020-05-11 19:41:16 +0200
commit80bcfd86b16b990cac7c172d4f55740b27a1510b (patch)
treefbad87ac55543fc5f5563983b516325a1f9e07c6 /libaxl_create.c
parentm (diff)
downloadlibaxl-80bcfd86b16b990cac7c172d4f55740b27a1510b.tar.gz
libaxl-80bcfd86b16b990cac7c172d4f55740b27a1510b.tar.bz2
libaxl-80bcfd86b16b990cac7c172d4f55740b27a1510b.tar.xz
Documentation, use of liberror, and implement libaxl_deallocate_id
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libaxl_create.c')
-rw-r--r--libaxl_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaxl_create.c b/libaxl_create.c
index 5c78c27..3d6d7b6 100644
--- a/libaxl_create.c
+++ b/libaxl_create.c
@@ -5,7 +5,7 @@ LIBAXL_CONNECTION *
libaxl_create(int fd)
{
LIBAXL_CONNECTION *conn;
- conn = calloc(1, sizeof(*conn));
+ conn = liberror_calloc(1, sizeof(*conn));
if (conn) {
conn->fd = fd;
atomic_init(&conn->xid_last, 0);