aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schweinsberg <[email protected]>2007-02-05 12:41:06 +0000
committerDavid Schweinsberg <[email protected]>2007-02-05 12:41:06 +0000
commit09f45a2eceeb8be9d8c22e816506abb941a06d46 (patch)
tree6144a7da9ae8d6788c9b110f39d7cd396efaa460
parent2da7e1f91883642b92799834a1e980dda2953679 (diff)
A small change to set the _buf to null when we've finished with it, so the GC can do its stuff.
-rw-r--r--src/net/java/dev/typecast/ot/table/BaseTable.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/java/dev/typecast/ot/table/BaseTable.java b/src/net/java/dev/typecast/ot/table/BaseTable.java
index 17a3e3b..0d022d1 100644
--- a/src/net/java/dev/typecast/ot/table/BaseTable.java
+++ b/src/net/java/dev/typecast/ot/table/BaseTable.java
@@ -1,5 +1,5 @@
/*
- * $Id: BaseTable.java,v 1.1 2007-02-02 02:59:54 davidsch Exp $
+ * $Id: BaseTable.java,v 1.2 2007-02-05 12:41:06 davidsch Exp $
*
* Typecast - The Font Development Environment
*
@@ -28,7 +28,7 @@ import net.java.dev.typecast.ot.Fixed;
/**
* Baseline Table
- * @version $Id: BaseTable.java,v 1.1 2007-02-02 02:59:54 davidsch Exp $
+ * @version $Id: BaseTable.java,v 1.2 2007-02-05 12:41:06 davidsch Exp $
* @author <a href="mailto:[email protected]">David Schweinsberg</a>
*/
public class BaseTable implements Table {
@@ -376,6 +376,9 @@ public class BaseTable implements Table {
if (_vertAxisOffset != 0) {
_vertAxis = new Axis(_vertAxisOffset);
}
+
+ // Let go of the buffer
+ _buf = null;
}
private DataInput getDataInputForOffset(int offset) {