]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
random_ref() should always increment the reference count.
authorSimon Tatham <anakin@pobox.com>
Wed, 9 Oct 2013 18:38:35 +0000 (18:38 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 9 Oct 2013 18:38:35 +0000 (18:38 +0000)
commit97e8f0802ce2055ce774b127b25a2e219ba2e01b
treec2380243fd520afee16e3d9386952aed7829d0c9
parentcc46a0d94e05c457742b62c7bb0894b22d2b20d2
random_ref() should always increment the reference count.

No current PuTTY utility was calling random_ref more than once per run
(ssh.c and the two main PuTTYgen programs call it once each), but if
one ever does (or if derived code does), it will want the reference
count to actually work sensibly.

git-svn-id: http://svn.tartarus.org/sgt/putty@10049 cda61777-01e9-0310-a592-d414129be87e
sshrand.c