On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig <[email protected]> wrote:

> 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.
>
> Only one line is wrong, do the following:

Stream.Read(Buf[0], Stream.Size);


thanks,
Dmitry
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to