diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2023-02-19 21:38:21 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2023-02-19 22:39:24 -0600 |
commit | 26adc0c6bf1e4aafe6dc261f8aca09636ca63912 (patch) | |
tree | 8eff96f6ab8f3823a54617004cb0729ff148d945 /src/libs | |
parent | a8a0dde828c474067cb92fd9cfec85372ab4160e (diff) | |
download | wix-26adc0c6bf1e4aafe6dc261f8aca09636ca63912.tar.gz wix-26adc0c6bf1e4aafe6dc261f8aca09636ca63912.tar.bz2 wix-26adc0c6bf1e4aafe6dc261f8aca09636ca63912.zip |
Fix double-free bugs in thmutil.
Fixes 7231
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/thmutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp index 7bd98a1a..7938cd0b 100644 --- a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp | |||
@@ -3752,7 +3752,7 @@ static HRESULT ParseActions( | |||
3752 | 3752 | ||
3753 | ++i; | 3753 | ++i; |
3754 | ReleaseNullBSTR(bstrType); | 3754 | ReleaseNullBSTR(bstrType); |
3755 | ReleaseObject(pixnChild); | 3755 | ReleaseNullObject(pixnChild); |
3756 | } | 3756 | } |
3757 | } | 3757 | } |
3758 | 3758 | ||
@@ -3984,8 +3984,8 @@ static HRESULT ParseRadioButtons( | |||
3984 | pControl->fLastRadioButton = TRUE; | 3984 | pControl->fLastRadioButton = TRUE; |
3985 | } | 3985 | } |
3986 | 3986 | ||
3987 | ReleaseObject(pixnl); | 3987 | ReleaseNullObject(pixnl); |
3988 | ReleaseObject(pixnRadioButtons); | 3988 | ReleaseNullObject(pixnRadioButtons); |
3989 | } | 3989 | } |
3990 | 3990 | ||
3991 | LExit: | 3991 | LExit: |