From d5f1f2a22fc1c35e93e1dfde58d08e2b3827192e Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Sat, 23 May 2026 10:51:06 +0000 Subject: core: ptrbox: Return allocated entry Signed-off-by: Chloe M. --- core/ptrbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/ptrbox.c b/core/ptrbox.c index 2bdaa9c..b83ea8a 100644 --- a/core/ptrbox.c +++ b/core/ptrbox.c @@ -86,7 +86,7 @@ ptrbox_alloc(struct ptrbox *ptrbox, size_t len) return NULL; } - return 0; + return p; } char * -- cgit v1.2.3