Per Inge Mathisen schreef:
> Updated memory cleanup patch. It is basically the same as the one
> posted last year. I could not find any problems with it from a very
> basic feature testing (starting campaign, multi, tutorial, loading and
> saving), but running it a bit in valgrind reports a huge amount of
> lost memory. I do not know if this is because the patch introduces
> memory loss or because valgrind can now detect existing memory lost,
> though.
>
> The patch is in two steps, apply to test as you feel like it:
>
> STEP 1 - use malloc and free instead of custom MALLOC and FREE
>   ...
> STEP 2 - rip out block memory system entirely
>   ...
If you apply these patches to a clean repository it won't compile
because some source files still depend on the MALLOC and FREE macros.

-- 
Giel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to