Passing the session by const-ref instead of shared reference on very call frame
Removing malloc before memory debugger
Small, but persistent memleak removed