]> granicus.if.org Git - libass/commit
strdup() fontconfig strings freed by caller
authorGrigori Goronzy <greg@blackbox>
Thu, 8 Oct 2009 21:55:23 +0000 (23:55 +0200)
committerGrigori Goronzy <greg@blackbox>
Thu, 8 Oct 2009 21:55:23 +0000 (23:55 +0200)
commit88d43f79747fb649d730ade5f8c221573be0be7b
tree1dcc13e5b810eab467b2e31ae7d9e6897b26ddc4
parent29b5f2cc548a9c68a4855c6c85ac38aa25561f25
strdup() fontconfig strings freed by caller

fontconfig_select() can return the path to the default font as fallback,
but the caller frees it later.  Return a copy with strdup() instead.
libass/ass_fontconfig.c