kernel: - Fixed a segfault issue on kernel cleanup when lhs == rhs.
kernel:
- Fixed a segfault issue on kernel cleanup when lhs == rhs.

Saurabh7/shogun,karlnapf/shogun,lisitsyn/shogun,besser82/shogun,lambday/shogun,sorig/shogun,lambday/shogun,lisitsyn/shogun,lambday/shogun,karlnapf/shogun,lisitsyn/shogun,sorig/shogun,karlnapf/shogun,shogun-toolbox/shogun,lisitsyn/shogun,Saurabh7/shogun,geektoni/shogun,shogun-toolbox/shogun,geektoni/shogun,geektoni/shogun,lisitsyn/shogun,Saurabh7/shogun,Saurabh7/shogun,shogun-toolbox/shogun,besser82/shogun,karlnapf/shogun,Saurabh7/shogun,besser82/shogun,Saurabh7/shogun,besser82/shogun,lambday/shogun,lambday/shogun,shogun-toolbox/shogun,Saurabh7/shogun,shogun-toolbox/shogun,geektoni/shogun,sorig/shogun,Saurabh7/shogun,geektoni/shogun,sorig/shogun,geektoni/shogun,lambday/shogun,besser82/shogun,sorig/shogun,Saurabh7/shogun,lisitsyn/shogun,karlnapf/shogun,besser82/shogun,shogun-toolbox/shogun,karlnapf/shogun,sorig/shogun