Commit 71880e48 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

rsaenh: Free a verify context's keys when it's destroyed.

parent ac4ac88a
...@@ -1219,6 +1219,8 @@ static void destroy_key_container(OBJECTHDR *pObjectHdr) ...@@ -1219,6 +1219,8 @@ static void destroy_key_container(OBJECTHDR *pObjectHdr)
store_key_container_permissions(pKeyContainer); store_key_container_permissions(pKeyContainer);
release_key_container_keys(pKeyContainer); release_key_container_keys(pKeyContainer);
} }
else
release_key_container_keys(pKeyContainer);
HeapFree( GetProcessHeap(), 0, pKeyContainer ); HeapFree( GetProcessHeap(), 0, pKeyContainer );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment