Very interesting wheel you have there. It looks a lot like the wheel that most of us know as PL_strdup() or nsCRT::strdup() however. This is referring to the lines after if (err == REGERR_OK) after getting NR_RegGetEntryString().
Severity: normal → minor
Target Milestone: M9 → M11
This strdup is using PR_Malloc. The has to free this using PR_Free. Changing this to nsCRT will mean changing all callers. Minor.
Status: ASSIGNED → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → WONTFIX
scc was (is still?) working on fixing allocation and deallocation of all char* data in the product. It stands to reason that any callers in this case would need to be corrected anyway. Is this not so? Should this be re-opened?
You need to log in before you can comment on or make changes to this bug.