Commit b1307dc0 authored by Marc Alff's avatar Marc Alff

Fixed code review comments

parent d343f5e3
...@@ -344,8 +344,7 @@ static void _lf_pinbox_real_free(LF_PINS *pins) ...@@ -344,8 +344,7 @@ static void _lf_pinbox_real_free(LF_PINS *pins)
#ifdef HAVE_ALLOCA #ifdef HAVE_ALLOCA
if (pins->stack_ends_here != NULL) if (pins->stack_ends_here != NULL)
{ {
int alloca_size; int alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
/* create a sorted list of pinned addresses, to speed up searches */ /* create a sorted list of pinned addresses, to speed up searches */
if (available_stack_size(&pinbox, *pins->stack_ends_here) > alloca_size) if (available_stack_size(&pinbox, *pins->stack_ends_here) > alloca_size)
{ {
......
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