Memory leak fix from CLucene mailing list.