Fix a bug in stringfields where it did not actually free the pools of memory.