Fixed a double free in the FDI2RAW code.
This commit is contained in:
@@ -326,7 +326,9 @@ static void fdi_decode (uae_u8 *stream, int size, uae_u8 *out)
|
|||||||
((uae_u32*)out)[i] = v;
|
((uae_u32*)out)[i] = v;
|
||||||
}
|
}
|
||||||
free_nodes (root.left);
|
free_nodes (root.left);
|
||||||
|
root.left = 0;
|
||||||
free_nodes (root.right);
|
free_nodes (root.right);
|
||||||
|
root.right = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user