Use SmartPtr for mailparse extension.
commitee92133c8e44debb3a592b6feb72273b0ea08697
authorBill Nell <bnell@fb.com>
Fri, 16 Jan 2015 13:17:49 +0000 (16 05:17 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 16 Jan 2015 13:30:31 +0000 (16 05:30 -0800)
tree548d3b3ebab4ce7749386bce83ef618a47eef241
parentd39a1252fe92d8a1718bdf48ec6c2861076cce32
Use SmartPtr for mailparse extension.

Summary: Replace uses of newres<T> with SmartPtr<T>.  Replace raw ResourceData pointers with SmartPtrs.

Reviewed By: @markw65

Differential Revision: D1780007
hphp/runtime/ext/mailparse/ext_mailparse.cpp
hphp/runtime/ext/mailparse/mime.cpp
hphp/runtime/ext/mailparse/mime.h