Closed Bug 550198 Opened 10 years ago Closed 10 years ago

nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000

Categories

(Core :: XPCOM, defect, minor)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

176  	nsMemoryImpl::FlushMemory(const PRUnichar* aReason, PRBool aImmediate)
178  	    nsresult rv;

180  	    if (aImmediate) {
188  	    }

194  	    PRIntervalTime now = PR_IntervalNow();

198  	    if (aImmediate) {
200  	    }
201  	    else {
203  	        if (PR_IntervalToMicroseconds(now - sLastFlushTime) > 1000) {
206  	        }
207  	    }

210  	    return rv;
Attached patch it's okSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #430529 - Flags: review?(benjamin)
Attachment #430529 - Flags: review?(benjamin) → review+
http://hg.mozilla.org/mozilla-central/rev/c9b2bb800bf4
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.