nsCSSExpandedDataBlock::DoExpand null checks aBlock instead of *aBlock

RESOLVED FIXED in mozilla1.9.3a5

Status

()

Core
CSS Parsing and Computation
--
minor
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

({coverity})

Trunk
mozilla1.9.3a5
coverity
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
591 nsCSSExpandedDataBlock::DoExpand(nsRefPtr<nsCSSCompressedDataBlock> *aBlock,

599         *aBlock = (*aBlock)->Clone();
600         if (!aBlock) {
601             // Not much we can do; just lose the properties.
602             NS_WARNING("out of memory");
(Assignee)

Comment 1

8 years ago
Created attachment 435599 [details] [diff] [review]
fix null check
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #435599 - Flags: review?(bzbarsky)
Comment on attachment 435599 [details] [diff] [review]
fix null check

r=dbaron
Attachment #435599 - Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/mozilla-central/rev/e0223cca9d88
Status: ASSIGNED → RESOLVED
Last Resolved: 8 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.