Fixing memory leak in handling of void functions Void functions are handled differently from non-void functions. In case of void functions the resulting mailbox has not been deleted which caused memory leaks. Change-Id: I2e44dacc9d632df0d06cc32c6ac868de5c74720d