]> granicus.if.org Git - python/commitdiff
Document that we rely on the OS to release the crypto
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 4 Sep 2007 09:51:57 +0000 (09:51 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 4 Sep 2007 09:51:57 +0000 (09:51 +0000)
context. Fixes #1626801.

Modules/posixmodule.c

index 24c9e15537d8164826271efce54f7cf998776224..7c25a05b480796bb04ce38f5750233e5903dcaba 100644 (file)
@@ -8074,6 +8074,8 @@ typedef BOOL (WINAPI *CRYPTGENRANDOM)(HCRYPTPROV hProv, DWORD dwLen,\
               BYTE *pbBuffer );
 
 static CRYPTGENRANDOM pCryptGenRandom = NULL;
+/* This handle is never explicitly released. Instead, the operating
+   system will release it when the process terminates. */
 static HCRYPTPROV hCryptProv = 0;
 
 static PyObject*