??? 08/19/09 14:12 Read: times |
#168395 - Memory leaks nothing to do with HLL Responding to: ???'s previous message |
Richard Erlacher said:
I've never encountered a memory leak in my ASM programming Presumably because you don't do dynamic allocation in ASM?! More likely in ASM is the classic "popping more than you pushed" problem... HLL's can, but don't necessarily, generate memory leaks because they use dynamic memory allocation That has nothing to do with the language: if you write your 'C' programs without using dynamic allocation, you won't get leaks - again, you must compare like with like. Of course, 'C' will never "pop more than it pushed" |