aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-24 12:53:45 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-24 12:53:45 +0000
commit381c58c2e42608d2ff9181cc91acc5373e812891 (patch)
tree06b948d5b1f378d48d1ce275685697f6912da20f /src
parentca55e2adbf4620b21dade26d326d41d4621d6302 (diff)
downloadgnunet-381c58c2e42608d2ff9181cc91acc5373e812891.tar.gz
gnunet-381c58c2e42608d2ff9181cc91acc5373e812891.zip
-leak
Diffstat (limited to 'src')
-rw-r--r--src/util/gnunet-rsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/gnunet-rsa.c b/src/util/gnunet-rsa.c
index 040e66ea9..86e9bdc82 100644
--- a/src/util/gnunet-rsa.c
+++ b/src/util/gnunet-rsa.c
@@ -126,6 +126,7 @@ create_keys (const char *fn)
126 { 126 {
127 /* sometimes we get a different key length because 'd' or 'u' start 127 /* sometimes we get a different key length because 'd' or 'u' start
128 with leading bits; skip those... */ 128 with leading bits; skip those... */
129 GNUNET_CRYPTO_rsa_key_free (pk);
129 make_keys++; 130 make_keys++;
130 continue; 131 continue;
131 } 132 }