Free process and session structures

Change-Id: I7a776dd7a8e9f8410c98d613540b291e504f35a4
Signed-off-by: TanelDettenborn <tanel.dettenborn@gmail.com>