Fixed some memory frees in dbwt.c