Commit 508409434ccb7320b5a3d7b03260580ac69eb6da

David Turner 2000-12-06T18:02:01

* src/cache/ftlru.c (FT_Lru_Done): fixed a small memory leak

diff --git a/ChangeLog b/ChangeLog
index 0da40ab..aa2ff22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-06  David Turner  <david.turner@freetype.org>
+
+	* src/cache/ftlru.c (FT_Lru_Done): fixed a small memory leak
+
 2000-12-06  Werner Lemberg  <wl@gnu.org>
 
 	* builds/module.mk: Replaced `xxx #' with `xxx$(space).
diff --git a/src/cache/ftlru.c b/src/cache/ftlru.c
index b2480d8..76bae66 100644
--- a/src/cache/ftlru.c
+++ b/src/cache/ftlru.c
@@ -126,6 +126,8 @@
     memory = lru->memory;
 
     FT_Lru_Reset( lru );
+
+    FREE( lru->nodes );
     FREE( lru );
   }