#30 Fixed a memory leak.