diff options
| author | Chloe M. <chloe@mirocom.org> | 2026-05-23 10:51:06 +0000 |
|---|---|---|
| committer | Chloe M. <chloe@mirocom.org> | 2026-05-23 10:51:06 +0000 |
| commit | d5f1f2a22fc1c35e93e1dfde58d08e2b3827192e (patch) | |
| tree | eec50882db88291085c85b18fa5fd483abe94a2e | |
| parent | f99c1d678f3310a3679b24e518355fbb00211273 (diff) | |
core: ptrbox: Return allocated entry
Signed-off-by: Chloe M. <chloe@mirocom.org>
| -rw-r--r-- | core/ptrbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |
