Closed
Bug 25590
Opened 25 years ago
Closed 25 years ago
Leaking C string in cache code
Categories
(Core :: Networking: Cache, defect, P3)
Core
Networking: Cache
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: beard, Assigned: davidm)
Details
(Keywords: memory-leak)
Here's a patch to fix another C string leak in the cache code:
Index: mozilla/netwerk/cache/mgr/nsCachedNetData.cpp
===================================================================
RCS file: /cvsroot/mozilla/netwerk/cache/mgr/nsCachedNetData.cpp,v
retrieving revision 1.8
diff -c -2 -r1.8 nsCachedNetData.cpp
*** nsCachedNetData.cpp 2000/01/25 03:11:16 1.8
--- nsCachedNetData.cpp 2000/01/28 23:57:45
***************
*** 152,155 ****
--- 152,157 ----
~CacheMetaData() {
+ if (mTag)
+ nsCRT::free(mTag);
if (mOpaqueBytes)
nsAllocator::Free(mOpaqueBytes);
Updated•25 years ago
|
Target Milestone: M15
Updated•25 years ago
|
Keywords: mlk
Summary: [MLK] Leaking C string in cache code → Leaking C string in cache code
Urghh
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•