Commit 26ab4ea8 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak.

parent 5e688290
......@@ -4114,9 +4114,12 @@ Each type should be a string of length 4 or the symbol
CFRelease (url);
}
if (data)
err = AECoercePtr (src_desc_type, CFDataGetBytePtr (data),
CFDataGetLength (data),
dst_desc_type, &dst_desc);
{
err = AECoercePtr (src_desc_type, CFDataGetBytePtr (data),
CFDataGetLength (data),
dst_desc_type, &dst_desc);
CFRelease (data);
}
else
err = memFullErr;
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment