summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/Makefiles
diff options
context:
space:
mode:
authorKhalid Ali <khaliidcaliy@gmail.com>2026-10-08 10:11:39 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-11 09:58:28 +0300
commit1a44fc33295d32653fb114e1f1b9b91a81d47239 (patch)
tree656bbc6f3dc993ed9fec8f6527dda267dbcb5f29 /BaseTools/Source/C/Makefiles
parent870158586f14dbf9d57e312ea6ea87141a1b0699 (diff)
downloadedk2-master.tar.xz
MdeModulePkg: Use OpenProtocol() for protocol presence checkHEADmaster
The function CoreInstallProtocolInterfaceNotify() checks if the protocol already installed on handle by using HandleProtocol(). And later HandleProtocol() calls OpenProtocol(). If it is determined that protocol is present on handle, the protocol is being left open which could leak internal resources. This change replaces HandleProtocol() with OpenProtocol() with test attribute, thus no CloseProtocol() is required. Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
Diffstat (limited to 'BaseTools/Source/C/Makefiles')
0 files changed, 0 insertions, 0 deletions