Community
Participate
Working Groups
The code that tries to call NS_Free could be simplified by ignoring NS_Free and just calling nsMemory.Free which always does the right thing.
The patch (https://git.eclipse.org/r/#/c/36354/) causes a crash with the test case at -- https://bugs.eclipse.org/bugs/show_bug.cgi?id=316252#c3 I believe we should not modify the working & tested code here.
(In reply to Lakshmi Shanmugam from comment #1) > The patch (https://git.eclipse.org/r/#/c/36354/) causes a crash with the > test case at -- https://bugs.eclipse.org/bugs/show_bug.cgi?id=316252#c3 > I believe we should not modify the working & tested code here. I'll take your word for it, but it didn't crash when I tried it.
Well, Firefox 39 will be removing nsIMemory, which is annoying, since it's so much easier to use than NS_Free.