(OTF_close): Free otf->filename.
authorhanda <handa>
Mon, 29 Mar 2004 12:44:45 +0000 (12:44 +0000)
committerhanda <handa>
Mon, 29 Mar 2004 12:44:45 +0000 (12:44 +0000)
src/otfopen.c

index 94429ec..f20a5cb 100644 (file)
@@ -2643,6 +2643,8 @@ OTF_close (OTF *otf)
        }
       free (internal_data);
     }
+  if (otf->filename)
+    free (otf->filename);
   free (otf);
 }