Closed Bug 1168011 Opened 10 years ago Closed 7 years ago

leaks in nsUpdateDriver.cpp

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1168010

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

Details

http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsUpdateDriver.cpp#602 http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsUpdateDriver.cpp#882 00:52:18 INFO - ==1945==ERROR: LeakSanitizer: detected memory leaks 00:52:18 INFO - Direct leak of 192 byte(s) in 2 object(s) allocated from: 00:52:18 INFO - #0 0x472111 in malloc /builds/slave/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:74 00:52:18 INFO - #1 0x48ff7d in moz_xmalloc /builds/slave/try-l64-asan-00000000000000000/build/src/memory/mozalloc/mozalloc.cpp:83 00:52:18 INFO - #2 0x7f0fd0827821 in operator new[] /builds/slave/try-l64-asan-00000000000000000/build/src/obj-firefox/toolkit/xre/../../dist/include/mozilla/mozalloc.h:198 00:52:18 INFO - #3 0x7f0fd0827821 in operator nsIFile * /builds/slave/try-l64-asan-00000000000000000/build/src/toolkit/xre/nsUpdateDriver.cpp:882 00:52:18 INFO - #4 0x7f0fd0827821 in ProcessUpdates(nsIFile*, nsIFile*, nsIFile*, int, char**, char const*, bool, bool, nsIFile*, PRProcess**) /builds/slave/try-l64-asan-00000000000000000/build/src/toolkit/xre/nsUpdateDriver.cpp:1038 00:52:18 INFO - #5 0x7f0fd082a6a5 in nsUpdateProcessor::StartStagedUpdate() /builds/slave/try-l64-asan-00000000000000000/build/src/toolkit/xre/nsUpdateDriver.cpp:1220 00:52:18 INFO - #6 0x7f0fd0833dc0 in apply<nsUpdateProcessor, void (nsUpdateProcessor::*)()> /builds/slave/try-l64-asan-00000000000000000/build/src/obj-firefox/toolkit/xre/../../dist/include/nsThreadUtils.h:618 00:52:18 INFO - #7 0x7f0fd0833dc0 in nsRunnableMethodImpl<void (nsUpdateProcessor::*)(), true>::Run() /builds/slave/try-l64-asan-00000000000000000/build/src/obj-firefox/toolkit/xre/../../dist/

The patch I just submitted for bug 1168010 also fixes this bug.

Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Depends on: 1168010
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.