Commit 79ab3b72 authored by Rémi Duraffort's avatar Rémi Duraffort

quartztext: do not call CFRelease on a NULL pointer.

(cherry picked from commit bf7f847f)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent dcdc18c9
......@@ -382,8 +382,8 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
CFRangeMake( 0, len ), p_attrString);
RenderYUVA( p_filter, p_region_out, p_attrString );
CFRelease( p_attrString );
}
CFRelease(p_attrString);
return VLC_SUCCESS;
}
......
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