1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#34183 Missing DBUG_RETURN in alloc_root

DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
This commit is contained in:
thek@adventure.(none)
2008-04-07 11:29:45 +02:00
parent e392f406f5
commit 27b6c17d94

View File

@ -202,7 +202,7 @@ void *alloc_root(MEM_ROOT *mem_root, size_t length)
{
if (mem_root->error_handler)
(*mem_root->error_handler)();
return((void*) 0); /* purecov: inspected */
DBUG_RETURN((void*) 0); /* purecov: inspected */
}
mem_root->block_num++;
next->next= *prev;