changeset 19962:c76d6a7332e8

Free memory in ass_synth_done().
author eugeni
date Sun, 24 Sep 2006 15:50:31 +0000
parents 9f011e6892e8
children 601bd947b61d
files libass/ass_bitmap.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_bitmap.c	Sun Sep 24 15:19:48 2006 +0000
+++ b/libass/ass_bitmap.c	Sun Sep 24 15:50:31 2006 +0000
@@ -94,6 +94,12 @@
 
 void ass_synth_done(ass_synth_priv_t* priv)
 {
+	if (priv->tmp)
+		free(priv->tmp);
+	if (priv->g)
+		free(priv->g);
+	if (priv->gt2)
+		free(priv->gt2);
 	free(priv);
 }