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

Alexandre Julliard julliard at winehq.org
Wed Dec 9 10:46:27 CST 2009


Module: wine
Branch: master
Commit: 71880e48184ec66fbb04d074404c5c3e8f32fe35
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=71880e48184ec66fbb04d074404c5c3e8f32fe35

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Dec  8 13:32:19 2009 -0800

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

---

 dlls/rsaenh/rsaenh.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c
index 2ccbf5c..5c2b8b0 100644
--- a/dlls/rsaenh/rsaenh.c
+++ b/dlls/rsaenh/rsaenh.c
@@ -1219,6 +1219,8 @@ static void destroy_key_container(OBJECTHDR *pObjectHdr)
         store_key_container_permissions(pKeyContainer);
         release_key_container_keys(pKeyContainer);
     }
+    else
+        release_key_container_keys(pKeyContainer);
     HeapFree( GetProcessHeap(), 0, pKeyContainer );
 }
 




More information about the wine-cvs mailing list