From cafc977c648e194bfcc7b2d6923b2f6b457bfa5e Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 15 Apr 2014 14:23:27 +0200 Subject: [PATCH] DOC: improve memory management documentation --- src/rand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rand.c b/src/rand.c index 5b8985f..d698164 100644 --- a/src/rand.c +++ b/src/rand.c @@ -76,7 +76,7 @@ static mp_digit get_urnd_int_small(int *sign) * from the set {-1 ,0 ,1} using /dev/urandom. * * @param ctx the NTRU context - * @return newly allocated polynomial + * @return newly allocated polynomial, must be freed with delete_polynom() */ pb_poly *ntru_get_urnd_poly_small(ntru_context *ctx) {