<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig <span dir="ltr"><<a href="mailto:donald@ziesig.org" target="_blank">donald@ziesig.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to read the contents of a memory stream into a dynamic array of characters and the program keeps crashing when I try to free the dynamic array.<br>
<br></blockquote><div>Only one line is wrong, do the following: </div><div><br></div><div>Stream.Read(Buf[0], Stream.Size); </div><div><br></div><div><br></div><div>thanks,</div><div>Dmitry</div><div><br></div></div></div></div>