]> asedeno.scripts.mit.edu Git - PuTTY.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)
commitab2ddd17720529ddc79c353372a5cb15713354d5
treec2380243fd520afee16e3d9386952aed7829d0c9
parent2ca13fa995064ad2d97f42dd2e6abef04cccccd2
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.

[originally from svn r10049]
sshrand.c