summaryrefslogtreecommitdiff
path: root/mysys/my_alloc.c
diff options
context:
space:
mode:
authorunknown <thek@adventure.(none)>2008-04-07 11:29:45 +0200
committerunknown <thek@adventure.(none)>2008-04-07 11:29:45 +0200
commit3f63ba7f8cebbbf0b19ecccc6e3aa07bc09a4598 (patch)
tree9ed0509271c01670c7eab8244e509d8ef48d36a8 /mysys/my_alloc.c
parentf2d504aa648dece6fc4b08ed72e3639b749b8424 (diff)
downloadmariadb-git-3f63ba7f8cebbbf0b19ecccc6e3aa07bc09a4598.tar.gz
Bug#34183 Missing DBUG_RETURN in alloc_root
DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root mysys/my_alloc.c: Fixed missing DBUG_RETURN
Diffstat (limited to 'mysys/my_alloc.c')
-rw-r--r--mysys/my_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_alloc.c b/mysys/my_alloc.c
index 9203ce9c34e..2607ea57d08 100644
--- a/mysys/my_alloc.c
+++ b/mysys/my_alloc.c
@@ -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;