mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +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 |
||
---|---|---|
.. | ||
moz.build | ||
nsApplicationCache.h | ||
nsApplicationCacheService.cpp | ||
nsApplicationCacheService.h | ||
nsCache.cpp | ||
nsCache.h | ||
nsCacheDevice.h | ||
nsCacheEntry.cpp | ||
nsCacheEntry.h | ||
nsCacheEntryDescriptor.cpp | ||
nsCacheEntryDescriptor.h | ||
nsCacheMetaData.cpp | ||
nsCacheMetaData.h | ||
nsCacheRequest.h | ||
nsCacheService.cpp | ||
nsCacheService.h | ||
nsCacheSession.cpp | ||
nsCacheSession.h | ||
nsCacheUtils.cpp | ||
nsCacheUtils.h | ||
nsDeleteDir.cpp | ||
nsDeleteDir.h | ||
nsDiskCache.h | ||
nsDiskCacheBinding.cpp | ||
nsDiskCacheBinding.h | ||
nsDiskCacheBlockFile.cpp | ||
nsDiskCacheBlockFile.h | ||
nsDiskCacheDevice.cpp | ||
nsDiskCacheDevice.h | ||
nsDiskCacheDeviceSQL.cpp | ||
nsDiskCacheDeviceSQL.h | ||
nsDiskCacheEntry.cpp | ||
nsDiskCacheEntry.h | ||
nsDiskCacheMap.cpp | ||
nsDiskCacheMap.h | ||
nsDiskCacheStreams.cpp | ||
nsDiskCacheStreams.h | ||
nsICache.idl | ||
nsICacheEntryDescriptor.idl | ||
nsICacheListener.idl | ||
nsICacheService.idl | ||
nsICacheSession.idl | ||
nsICacheVisitor.idl | ||
nsMemoryCacheDevice.cpp | ||
nsMemoryCacheDevice.h |