avoid extra AddRef/Release in Android NativeZip JNI code

RESOLVED FIXED in Firefox 46

Status

()

Core
mozglue
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla46
Points:
---

Firefox Tracking Flags

(firefox46 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
We don't need to take an extra ref when we're just going to release the
one we already have.  Just return our ref directly.
(Assignee)

Comment 1

2 years ago
Created attachment 8704255 [details] [diff] [review]
avoid extra AddRef/Release in Android NativeZip JNI code
Attachment #8704255 - Flags: review?(nchen)
Comment on attachment 8704255 [details] [diff] [review]
avoid extra AddRef/Release in Android NativeZip JNI code

Review of attachment 8704255 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8704255 - Flags: review?(nchen) → review+

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/b2ec3d649715
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox46: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.