Dimitrie O. Paun wrote:
On Wed, Mar 02, 2005 at 03:41:21PM -0800, Rizwan Kassim wrote: +FNFREE(final_free) {
- trace(" FNFREE just called with %d\n",pv);
- free(pv);
- return;
+} +#endif
No need for this either. It's a test after all, there's no big deal if you have a memory leak... :)
I disagree, you can't know how big the test will become nor if it will run on a Win95 box with something like 8 MB of RAM. And they need to learn to program correctly, that's one of the reasons for their work, so they need to free the memory too ;)
bye michael