Closed Bug 25590 Opened 25 years ago Closed 25 years ago

Leaking C string in cache code

Categories

(Core :: Networking: Cache, defect, P3)

defect

Tracking

()

VERIFIED FIXED

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);
Target Milestone: M15
reassign
Assignee: gagan → davidm
Keywords: mlk
Summary: [MLK] Leaking C string in cache code → Leaking C string in cache code
fix checked in
Urghh
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
development issue - marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.