-m memory leak
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 16 Jul 2012 12:35:55 +0000 (12:35 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 16 Jul 2012 12:35:55 +0000 (12:35 +0000)
src/util/crypto_rsa.c

index 5045d0085ca729a5f84396d5fa1ea47870f10556..4afda1f6e20ade1b0aba97afda9a73f77c9b4a40 100644 (file)
@@ -1070,7 +1070,9 @@ GNUNET_CRYPTO_rsa_key_create_stop (struct GNUNET_CRYPTO_RsaKeyGenerationContext
     GNUNET_break (GNUNET_OK ==
                  GNUNET_OS_process_wait (gc->gnunet_rsa));
     GNUNET_OS_process_destroy (gc->gnunet_rsa);
+    GNUNET_DISK_pipe_close (gc->gnunet_rsa_out);
   }
+
   if (NULL != gc->filename)
   {
     if (0 != UNLINK (gc->filename))