]> granicus.if.org Git - libass/commit
fontselect: get rid of strdup for display name
authorGrigori Goronzy <greg@chown.ath.cx>
Mon, 7 Sep 2015 09:06:17 +0000 (11:06 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Mon, 7 Sep 2015 09:07:27 +0000 (11:07 +0200)
commitd6bb9af645526a810512eaf2c65252ac0e0e6b36
treef421fa82ffeec2c8a4fd10a3a17f6d87fd6977a6
parentaf6a9194b19f3073e7044c48635f1adc332fca05
fontselect: get rid of strdup for display name

The name is always pulled from the font info, which is static, so
there is no need to strdup.
libass/ass_font.c
libass/ass_fontselect.c