Skip to content

Commit

Permalink
CreateActCtx is returning the wrong SafeHandle. Fixed #1581.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed May 22, 2023
1 parent d1fa00a commit 7ee216d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generation/WinSDK/emitter.settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,8 @@ IMediaSample::IsPreroll=[CanReturnMultipleSuccessValues]
IMediaSample::IsSyncPoint=[CanReturnMultipleSuccessValues]
BeginUpdateResourceA::return=[RAIIFree("EndUpdateResourceA")]
BeginUpdateResourceW::return=[RAIIFree("EndUpdateResourceW")]
CreateActCtxA::return=[RAIIFree("ReleaseActCtx")]
CreateActCtxW::return=[RAIIFree("ReleaseActCtx")]
CreateBoundaryDescriptorA::return=[RAIIFree("DeleteBoundaryDescriptor")]
CreateBoundaryDescriptorW::return=[RAIIFree("DeleteBoundaryDescriptor")]
CreateEnhMetaFileA::return=[RAIIFree("DeleteEnhMetaFile")]
Expand Down
3 changes: 3 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10363,3 +10363,6 @@ Windows.Win32.UI.Shell.ShFindChangeNotificationHandle removed
Windows.Win32.UI.WindowsAndMessaging.Apis.LoadImageA : return...LOADIMAGE_HANDLE => HANDLE
Windows.Win32.UI.WindowsAndMessaging.Apis.LoadImageW : return...LOADIMAGE_HANDLE => HANDLE
Windows.Win32.UI.WindowsAndMessaging.LOADIMAGE_HANDLE removed
# Fixed #1581.
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.CreateActCtxA : return : => [RAIIFree(ReleaseActCtx)]
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.CreateActCtxW : return : => [RAIIFree(ReleaseActCtx)]

0 comments on commit 7ee216d

Please sign in to comment.