justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Nitpicker: I had this problem when using vc11 only. I was getting weird leaks. The code in question was pastebin.com/P1a56bda in case of test being in the global scope (PROG==1) nitpicker indicated a leak in all other cases everything fine. I got into thinking and I end up building a fresh nitpicker.lib and everything works as expected. :/
Asked by gio (94.66.75.x) on April 16 2013, 2:46am
Reply on April 16 2013, 3:16pm:
    Ah, you got it working in VC11? Cool. I did recently get it going in vc2005/x64, but it was a bit of work. To answer your question, on globally owned objects, yeah, it's possible/likely that the atexit() handler installed would execute before global destructors. That sort of leak is usually harmless, though, provided you don't have extensive datastructures freed that way...

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS