X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh_common.c;h=0e9b13ca24cd0138a195c27633e37f16ca944ec2;hb=6f68e76a0cfe31757c4e7158ca30f4c85b8a8774;hp=c5a25e36bfe889d22318fa28e5cf23088c2cbb67;hpb=9c1aa53f0cda586aa13a022452d16a2704055578;p=paraslash.git diff --git a/afh_common.c b/afh_common.c index c5a25e36..0e9b13ca 100644 --- a/afh_common.c +++ b/afh_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2014 Andre Noll + * Copyright (C) 1997-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -230,11 +230,12 @@ success: } /** - * Deallocate contents of a filled-in ahi structure + * Deallocate the contents of an afh_info structure. * * \param afhi The structure to clear. * - * The given pointer is kept, everything else is freed. + * This only frees the memory the various pointer fields of \a afhi point to. + * It does *not* free \a afhi itself. */ void clear_afhi(struct afh_info *afhi) {