Fixed a double free in the FDI2RAW code.

This commit is contained in:
OBattler
2020-01-15 02:46:16 +01:00
parent a2867e6978
commit 714d77dedd

View File

@@ -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;
} }
} }