Hey all,
I made some patches to fix the CFURLRef leaks under Mac and I'd like to know which solution you want used. My first patch (dir.diff) adds a function and moves some code in a new .h/.c file pair (makes main.c a little tidier).

The added function removes duplicate code and accompanying conditional inclusions e.g. h//ttp://developer.wz2100.net/changeset/10316/branches/2.3/lib/framework/i18n.c (r9835 for trunk)
http://developer.wz2100.net/changeset/11230/trunk/lib/ivis_opengl/textdraw.c
(Plus the origin of the above code in main.c)

In the ticket I've also added the "fix only" versions (cfrelease.diff and 23leaks.diff).

As you can see every time something changes with that code, it has to be changed in three different places.

Other notes:
- There are some build systems I cannot update (Mac, MSVC, etc.)
- The copyright is missing a "2100"

Anyways, let me know what you want (or commit it yourself.)
Regards,
-Safety0ff
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to