<div dir="ltr"><div>Sorry to spam, but I forgot to add the comparaison before/after with valgrind :<br><br></div>before :<br><div><div class="gmail_extra">==30103== HEAP SUMMARY:<br>==30103== in use at exit: 550,889 bytes in 3,774 blocks<br>
==30103== total heap usage: 30,206 allocs, 26,432 frees, 30,843,330 bytes allocated<br>==30103== <br>==30103== LEAK SUMMARY:<br>==30103== definitely lost: 603 bytes in 6 blocks<br>==30103== indirectly lost: 464 bytes in 17 blocks<br>
==30103== possibly lost: 45,769 bytes in 379 blocks<br>==30103== still reachable: 504,053 bytes in 3,372 blocks<br><br>after :<br>==3533== HEAP SUMMARY:<br>==3533== in use at exit: 475,171 bytes in 3,760 blocks<br>
==3533== total heap usage: 28,069 allocs, 24,309 frees, 30,225,189 bytes allocated<br>==3533== <br>==3533== LEAK SUMMARY:<br>==3533== definitely lost: 603 bytes in 6 blocks<br>==3533== indirectly lost: 464 bytes in 17 blocks<br>
==3533== possibly lost: 45,769 bytes in 379 blocks<br>==3533== still reachable: 428,335 bytes in 3,358 blocks<br><br><br><div class="gmail_quote">2013/4/15 Jerome Portal <span dir="ltr"><<a href="mailto:jerome.portal.2@gmail.com" target="_blank">jerome.portal.2@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Again, few other patches :<br><br></div>- improve Cleanup() and Cleanup_SDL_Text()<br>
<a href="https://github.com/OjeromeO/tuxtype/commit/cc892bfddf4dec8b6904bc55cc8b469298bf299a" target="_blank">https://github.com/OjeromeO/tuxtype/commit/cc892bfddf4dec8b6904bc55cc8b469298bf299a</a><br>
<a href="https://github.com/OjeromeO/tuxtype/commit/cd3952168919a1f810413080d24927504ab495ec" target="_blank">https://github.com/OjeromeO/tuxtype/commit/cd3952168919a1f810413080d24927504ab495ec</a><br><br></div>- add Cleanup() before exit() calls<br>
<div><a href="https://github.com/OjeromeO/tuxtype/commit/220fe296fab550ebaf3905adcc41847e9d6a93a7" target="_blank">https://github.com/OjeromeO/tuxtype/commit/220fe296fab550ebaf3905adcc41847e9d6a93a7</a><span class=""><font color="#888888"><br>
<div><br><div class="gmail_extra">
Jerome<br></div></div></font></span></div></div>
</blockquote></div><br></div></div></div>