Skip to content

little issue in the binpack.c #11

@uurlasrl

Description

@uurlasrl

Hi,
I think there is a little issue in the binpack.c source code line 628

...
if ( smallestz->next->next )
{
smallestz->prev->next = smallestz->next->next;
smallestz->next->next->prev = smallestz->prev;
free(smallestz);
}
...

should be
...
if ( smallestz->next->next )
{
smallestz->prev->next = smallestz->next->next;
smallestz->next->next->prev = smallestz->prev;
free(smallestz->next);
free(smallestz);
}
...

right?

Regards
Domenico

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions