Make memory management uniform: _everything_ now goes through the
[u/mdw/putty] / sshrsa.c
index bc23c43..14cf09a 100644 (file)
--- a/sshrsa.c
+++ b/sshrsa.c
@@ -169,5 +169,5 @@ void freersakey(struct RSAKey *key) {
     if (key->modulus) freebn(key->modulus);
     if (key->exponent) freebn(key->exponent);
     if (key->private_exponent) freebn(key->private_exponent);
-    if (key->comment) free(key->comment);
+    if (key->comment) sfree(key->comment);
 }