core: ptrbox: Return allocated entry

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 10:51:06 +00:00
parent f99c1d678f
commit d5f1f2a22f
+1 -1
View File
@@ -86,7 +86,7 @@ ptrbox_alloc(struct ptrbox *ptrbox, size_t len)
return NULL;
}
return 0;
return p;
}
char *