core: ptrbox: Return allocated entry
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ ptrbox_alloc(struct ptrbox *ptrbox, size_t len)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
|||||||
Reference in New Issue
Block a user