Update t_function.h

To Resolve resource Leak :in constructor Allocating memory to xceptions_ by calling "new t_struct(NULL)". 
but the destructor and whatever functions it calls do not free it. to resolve the issue deleted xceptions_ in destructor if it is not null.