OP2/OP2-Common — pull request #30 by kynan (2012-07-19 14:18:15+00:00)
Title: Properly clean up in op_exit and op_rt_exit

`op_exit` and `op_rt_exit` did not properly clean up, causing a memory corruption when calling `op_init` again after `op_exit` has been called. Fix that by `NULL`ing global core data structure arrays after freeing in `op_exit` and `op_rt_exit`.