mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
3e439bb4f8
It's silly to use prmem.h within Firefox code given that in our configuration its functions are just wrappers for malloc() et al. (Indeed, in some places we mix PR_Malloc() with free(), or malloc() with PR_Free().) This patch removes all uses, except for the places where we need to use PR_Free() to free something allocated by another NSPR function; in those cases I've added a comment explaining which function did the allocation. --HG-- extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09 |
||
---|---|---|
.. | ||
breakpad-client | ||
breakpad-patches | ||
breakpad-windows-libxul | ||
breakpad-windows-standalone | ||
client | ||
content | ||
docs | ||
google-breakpad | ||
injector | ||
minidump-analyzer | ||
test | ||
tools | ||
crashreporter.mozbuild | ||
CrashReports.jsm | ||
CrashSubmit.jsm | ||
InjectCrashReporter.cpp | ||
InjectCrashReporter.h | ||
jar.mn | ||
KeyValueParser.jsm | ||
LoadLibraryRemote.cpp | ||
LoadLibraryRemote.h | ||
mac_utils.h | ||
mac_utils.mm | ||
moz.build | ||
nsExceptionHandler.cpp | ||
nsExceptionHandler.h | ||
ThreadAnnotation.cpp | ||
ThreadAnnotation.h | ||
update-breakpad.sh | ||
update-jsoncpp.sh |