Double free error

What is a double free error?

A double free error can occur when a particular memory segment is freed up more than once. This is the result of calling the free() function multiple times within in a program. Double free errors may result in unexpected behavior and sometimes allow buffer overflow attacks.