summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_Icon.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-19 10:15:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-19 10:15:23 -0700
commite6a6561b80e73347dd3a7bf660196455f154b573 (patch)
treeb5466274871efd83896ba204869867ef55d052a9 /fpdfsdk/pdfwindow/PWL_Icon.h
parentfdb35ffb8d4bd283dd8f5905936f5c400fea3394 (diff)
downloadpdfium-e6a6561b80e73347dd3a7bf660196455f154b573.tar.xz
Reset 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 Review-Url: https://codereview.chromium.org/2160023002
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Icon.h')
0 files changed, 0 insertions, 0 deletions