]> granicus.if.org Git - libass/commit
coretext: use SAFE_CFRelease() for robustness
authorwm4 <wm4@nowhere>
Tue, 1 Sep 2015 12:50:36 +0000 (14:50 +0200)
committerwm4 <wm4@nowhere>
Tue, 1 Sep 2015 12:50:36 +0000 (14:50 +0200)
commit6a8a892887bdb251c644bce19280d2fb379a07ea
tree2de8ce9420980e1c893d265055c0b13e32a0226e
parent49c546bff989bd062af0dcee295c14262cf1ea83
coretext: use SAFE_CFRelease() for robustness

CFRelease(NULL) can crash. While we're still not sure which CoreText API
calls can fail etc. (thanks Apple), this should fix a couple of
theoretically possible crashes.
libass/ass_coretext.c