Comment
Comment by josephcsible
Consider this C code:
Do you think it contains a memory leak? If so, note that Valgrind disagrees: "All heap blocks were freed -- no leaks are possible". If not, then can you give a short example of some JavaScript code that does contain a memory leak?