#2009: CFURLRef leaks on Mac and more
-------------------------------------+--------------------------------------
        Reporter:  Safety0ff         |        Type:  patch (a actual patch, not 
a request for one)
          Status:  new               |    Priority:  major                      
                  
       Milestone:  unspecified       |   Component:  other                      
                  
         Version:  unspecified       |    Keywords:                             
                  
Operating_system:  All/Non-Specific  |   Blockedby:                             
                  
        Blocking:                    |  
-------------------------------------+--------------------------------------
 I had previously suggested on IRC that the duplicate code for mac bundles
 be put into a separate function.
 Now that there is a bug to fix in the duplicate code, I have done that
 instead of inserting the 3 line patch in 3 different places.

 I have made a patch that moves some duplicate code to a separate function,
 but I am unsure about a few things:
  * Header inclusion,order,duplication: I added some, not sure if I did it
 in a way consistent with the rest of the project.
  * I wasn't sure where to put platform specific/directory code, so I put
 it in a new file (putting it in wzglobal.h has it's issues.)
  * I saw some platform specific / directory stuff in main.c so I figured
 they'd best go into the new files.

 Discuss.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/2009>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to