Nikolay Sivov : comctl32/datetime: Free internal data completely on control destruction.
Module: wine Branch: master Commit: 7d6412c82d11df6e4bbc8d9b99556374f9e151e5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d6412c82d11df6e4bbc8d9b99... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Sat Dec 5 21:42:19 2009 +0300 comctl32/datetime: Free internal data completely on control destruction. --- dlls/comctl32/datetime.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index a7b433d..c240d4f 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c @@ -1360,6 +1360,9 @@ DATETIME_Destroy (DATETIME_INFO *infoPtr) if (infoPtr->hMonthCal) DestroyWindow(infoPtr->hMonthCal); SetWindowLongPtrW( infoPtr->hwndSelf, 0, 0 ); /* clear infoPtr */ + Free (infoPtr->buflen); + Free (infoPtr->fieldRect); + Free (infoPtr->fieldspec); Free (infoPtr); return 0; }
participants (1)
-
Alexandre Julliard