src/mempool.c

changeset 947
2a47b4a5c216
parent 727
d92a59f5d261
child 962
cd418898af5c
--- a/src/mempool.c	Tue Oct 22 23:10:31 2024 +0200
+++ b/src/mempool.c	Wed Oct 23 19:33:36 2024 +0200
@@ -113,6 +113,7 @@
         void *p,
         void *ptr
 ) {
+    if (!ptr) return;
     struct cx_mempool_s *pool = p;
 
     struct cx_mempool_memory_s *mem = (struct cx_mempool_memory_s *)

mercurial