summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/trusty/ql-tipc/ipc_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trusty/ql-tipc/ipc_dev.c b/lib/trusty/ql-tipc/ipc_dev.c
index 5924d448915..f388202de57 100644
--- a/lib/trusty/ql-tipc/ipc_dev.c
+++ b/lib/trusty/ql-tipc/ipc_dev.c
@@ -197,8 +197,8 @@ int trusty_ipc_dev_create(struct trusty_ipc_dev **idev,
return TRUSTY_ERR_NONE;
err_create_sec_dev:
-err_alloc_membuf:
trusty_membuf_free(dev->buf_vaddr);
+err_alloc_membuf:
trusty_free(dev);
return rc;
}