]> granicus.if.org Git - libass/commitdiff
fontselect: remove outdated remark
authorGrigori Goronzy <greg@chown.ath.cx>
Mon, 7 Sep 2015 08:56:59 +0000 (10:56 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Mon, 7 Sep 2015 08:56:59 +0000 (10:56 +0200)
fontselect is an internal only API for now. That said, it also seems
much more sane to let library users deal with this resource management.

libass/ass_fontselect.c

index fbdfacedd335f3b5a4e586098221442ba313eff1..a71ad4ef58ed3ba6e50a3cd3718eb455adb037d6 100644 (file)
@@ -1031,10 +1031,6 @@ void ass_fontselect_free(ASS_FontSelector *priv)
     if (priv->embedded_provider)
         ass_font_provider_free(priv->embedded_provider);
 
-    // XXX: not quite sure, maybe we should track all registered
-    // providers and free them right here. or should that be the
-    // responsibility of the library user?
-
     free(priv->font_infos);
     free(priv->path_default);
     free(priv->family_default);