DescriptionReset notify parameter in CPWL_ListBox OnDestroy().
Currently the OnDestroy() method of CPWL_ListBox will free
the |m_pListNotify| but it does not update the |m_pList| that
it has done so. This causes issues when CPWL_ListBox is
destroyed as the destructor for |m_pList| will attempt to
call into the |m_pListNotify|.
This CL resets the |m_pList| notify parameter before we
clear |m_pListNotify| in OnDestroy so it will not be
accessed during the |m_pList| destructor.
BUG=628995
Committed: https://pdfium.googlesource.com/pdfium/+/e6a6561b80e73347dd3a7bf660196455f154b573
Patch Set 1 #
Total comments: 6
Patch Set 2 : Rebase to master #Patch Set 3 : Review fixes #Patch Set 4 : Better text #Messages
Total messages: 11 (4 generated)
|