Closed Bug 560171 Opened 14 years ago Closed 14 years ago

nsDiskCacheStreamIO::Write leaks mBuffer on realloc failure

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: memory-leak)

Attachments

(1 file)

556 nsDiskCacheStreamIO::Write( const char * buffer,
581   mBuffer = (char *) realloc(mBuffer, mBufSize);
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #439851 - Flags: review?(cbiesinger)
Keywords: mlk
OS: Linux → All
Hardware: Other → All
Attachment #439851 - Flags: review?(cbiesinger) → review+
http://hg.mozilla.org/mozilla-central/rev/fc0cd8c0aa37
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: