diff --git a/pep-0445.txt b/pep-0445.txt index 6bcc0192e..ce01d0049 100644 --- a/pep-0445.txt +++ b/pep-0445.txt @@ -308,6 +308,7 @@ Example to setup hooks on all memory allocators:: static void* hook_malloc(void *ctx, size_t size) { PyMemAllocator *alloc = (PyMemAllocator *)ctx; + void *ptr; /* ... */ ptr = alloc->malloc(alloc->ctx, size); /* ... */