28.06.2016, 23:44
Well something is leaking for sure, but it's a needle in the haystack, you yourself should know better when it started happening and what you've added back then, trace recursive functions and such. An observation I made was that it's very easy to ruin data with memcpy, check for memcpy's with incorrect sizes, as those can easily overwrite your data if you give them incorrect numbers.