From b33b0c6b1ac18ce3eb2b7f875497b45f88a3a03b Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 15 Apr 2014 14:16:30 +0200 Subject: [PATCH] DOC: caller has to handle the memory of returned pointers --- src/poly.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/poly.c b/src/poly.c index ccf76b7..d96a09d 100644 --- a/src/poly.c +++ b/src/poly.c @@ -42,7 +42,7 @@ void init_integer(mp_int *new_int) /** * Initialize a Polynom with a pb_poly and a mp_int as characteristic. - * Checks if everything went fine. + * Checks if everything went fine. The caller must free new_poly. * * @param new_poly the pb_poly you want to initialize * @param chara the characteristic @@ -58,8 +58,8 @@ void init_polynom(pb_poly *new_poly, mp_int *chara) /** * Initialize a Polynom with a pb_poly adn a mp_int as characteristic - * with size. - * Checks if everything went fine. + * with size. Checks if everything went fine. The caller must free + * new_poly. * * @param new_poly the pb_poly you want to initialize * @param chara the characteristic