mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed code review comments
This commit is contained in:
@ -344,8 +344,7 @@ static void _lf_pinbox_real_free(LF_PINS *pins)
|
||||
#ifdef HAVE_ALLOCA
|
||||
if (pins->stack_ends_here != NULL)
|
||||
{
|
||||
int alloca_size;
|
||||
alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
|
||||
int alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
|
||||
/* create a sorted list of pinned addresses, to speed up searches */
|
||||
if (available_stack_size(&pinbox, *pins->stack_ends_here) > alloca_size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user