| 04-05-2006, 02:20 AM | #1 |
Just a quick question about leaks: Do they apply to local variables as well? I'm pretty sure they do, but someone told me they don't... :/ |
| 04-05-2006, 02:26 AM | #2 |
Not sure about JASS but I also thought that the benefit of most local var's besides being MUI, are destroyed at the end of the function they are scoped to. |
| 04-05-2006, 03:23 AM | #3 | |
Quote:
|
| 04-05-2006, 04:57 AM | #4 |
Locals are really !#%^^%# broke. You have to deallocate everything of handle type that isn't visible in the game, mostly locations, groups and finished SFX. Also, for every handle that points to a temporary object, you have to fix this. |
| 04-05-2006, 05:04 AM | #5 | |
Quote:
|
