<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div style="font-family: Consolas; font-size: medium; ">Thank IOHannes for pointing me to valgrind. &nbsp;From a preliminary test I didn't see any memory leaks with Memcheck. &nbsp;</div><div style="font-family: Consolas; font-size: medium; ">&nbsp; I used the command line: valgrind &#8212;leak-check=yes pd-extended myPatch.pd</div><div style="font-family: Consolas; font-size: medium; ">&nbsp; Valgrind only returned "Conditional jump or move depends on uninitialised value(s)" for various processes in the Mac OS and Pd</div><div style="font-family: Consolas; font-size: medium; ">&nbsp; I also tried Memcheck on my own code using a dummy program and get no leaks. &nbsp;</div><div style="font-family: Consolas; font-size: medium; ">&nbsp; Maybe I'm not using valgrind correctly to test a .pd file?&nbsp;</div><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; ">-----BEGIN PGP SIGNED MESSAGE-----</div><div style="font-family: Consolas; font-size: medium; ">Hash: SHA256</div><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; ">On 2014-02-26 23:22, Robert Esler wrote:</div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="font-family: Consolas; font-size: medium; border-left-color: rgb(181, 196, 223); border-left-width: 5px; border-left-style: solid; padding: 0px 0px 0px 5px; margin: 0px 0px 0px 5px; ">The strange behavior is as follows:</blockquote><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; ">this all looks like memory corruption.</div><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; ">run your patch through valgrind and see what it gives youl.</div><div style="font-family: Consolas; font-size: medium; "><br></div><div style="font-family: Consolas; font-size: medium; ">fgasdmr</div><div style="font-family: Consolas; font-size: medium; ">IOhannes</div><div style="font-family: Consolas; font-size: medium; ">-----BEGIN PGP SIGNATURE-----</div></body></html>