fixing SHAN-52 #comment memory leak, plugged
Merge pull request #1159 from Tendrid/develop

fixing SHAN-52 #comment memory leak, plugged