After _getvalueforurl retrieves the cookie string from the cookie service, it then clones it. In fact the original string was a better match for the return value, as it was allocated with NS_Alloc instead of PR_Malloc.
Created attachment 443761 [details] [diff] [review] Proposed patch The first change is just a pedantic correctness fix.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #443761 - Flags: review?(jst)
Pushed changeset c5976fc3311c to mozilla-central.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.