diff font/font_face.cc @ 7:fa8511a21d05

Fixes somes memory leaks
author thib
date Tue, 05 Aug 2008 10:06:04 +0000
parents 223b71206888
children 15a18fbe6f21
line wrap: on
line diff
--- a/font/font_face.cc
+++ b/font/font_face.cc
@@ -71,6 +71,7 @@ Face::Face(const char *name_orig, int in
 #endif
 		}
 	}
+	delete[] name;
 	return;
 }