Commit 3399be61 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

su_alloc.c: su_free() handles NULL gracefully

Patch by Michael Jerris.

parent 288bd90f
......@@ -780,7 +780,10 @@ void *su_alloc(su_home_t *home, isize_t size)
void su_free(su_home_t *home, void *data)
if (home && data) {
if (!data)
if (home) {
su_alloc_t *allocation;
su_block_t *sub = MEMLOCK(home);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment