Fix segfault problem with destruction of the program text in the parser when runned by Apache.