瀏覽代碼

Opps, freeing two in Pollard's ρ.

Michele Orrù 11 年之前
父節點
當前提交
a4486c8e3b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/questions/pollardrho.c

+ 1 - 0
src/questions/pollardrho.c

@@ -69,6 +69,7 @@ pollardrho_question_ask_rsa(const RSA *rsa)
   BN_free(x);
   BN_free(y);
   BN_free(gcd);
+  BN_free(two);
   return ret;
 }