X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=0e9b13ca24cd0138a195c27633e37f16ca944ec2;hp=c5a25e36bfe889d22318fa28e5cf23088c2cbb67;hb=fc16e6c98742b4ebe6d3130f0f56ac143806c084;hpb=9c1aa53f0cda586aa13a022452d16a2704055578 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) {