Closed Bug 1150213 Opened 9 years ago Closed 9 years ago

Use moz_xmalloc/moz_xrealloc/free following bug 1134920

Categories

(Chat Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aleth, Assigned: aleth)

References

Details

Attachments

(1 file)

      No description provided.
Attached patch mozmemfix.diffSplinter Review
Not sure where strdup->xstrdup happened, but it seems to be needed too.
Attachment #8587002 - Flags: review?(clokep)
Comment on attachment 8587002 [details] [diff] [review]
mozmemfix.diff

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

Looks fine to me. Thanks for fixing the build!
Attachment #8587002 - Flags: review?(clokep) → review+
http://hg.mozilla.org/users/florian_queze.net/purple/rev/cb97b46d6266
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.6
Hmm...so upon re-reading the newsgroup post it sounds like we're supposed to replace these with just malloc/calloc/realloc/free. [1] (Not the x* versions.)

[1] https://groups.google.com/forum/#!topic/mozilla.dev.platform/ffSQld7olEE
Flags: needinfo?(florian)
(In reply to Patrick Cloke [:clokep] from comment #4)
> we're supposed to replace these with just malloc/calloc/realloc/free.

Yes, please do.
Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: