void free_metadata (WavpackMetadata *wpmd)
{
    if (wpmd->data) {
        free (wpmd->data);
        wpmd->data = NULL;
    }
}

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.