mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-18 10:16:51 +00:00
(Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak.
This commit is contained in:
parent
5e6882903d
commit
26ab4ea8c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user