John L. Ries wrote:
The other day, I compiled a unit I wrote several years ago under FPC and got the following warning:
queues.p(101,37) Warning: use of NEW or DISPOSE for untyped pointers is meaningless
The same unit compiles under GPC (20070904) without warnings. My question is: does GPC properly deallocate memory in such a case
Yes, it does.
More precisely, by default it uses libc's free() function which knows about the allocated size. So unless you override memory allocation functions, you should be safe.
Frank