From bd9c3357c3e035a73b45861e7eb3a0a49540b9cd Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 17 Sep 2008 20:26:27 +0000 Subject: [PATCH] Blocked revisions 143400 via svnmerge ........ r143400 | mmichelson | 2008-09-17 15:25:40 -0500 (Wed, 17 Sep 2008) | 16 lines If attempting to free a NULL pointer when MALLOC_DEBUG is set, don't bother searching for a region to free, just immediately exit. This has the dual benefit of suppressing a warning message about freeing memory at (nil) and of optimizing the free() replacement by not having to do any futile searching for the proper region to free. (closes issue #13498) Reported by: pj Patches: 13498.patch uploaded by putnopvut (license 60) Tested by: pj ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@143401 65c4cc65-6c06-0410-ace0-fbb531ad65f3