From: Kovarththanan Rajaratnam Date: Thu, 18 Mar 2010 12:04:01 +0000 (+0100) Subject: Add a comment to indicate who's responsible for freeing the returned string X-Git-Tag: v3.0pre1~86^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=07cc7bbb5ffee18917c9c2be07299fef51e8a45e;p=thirdparty%2Fccache.git Add a comment to indicate who's responsible for freeing the returned string --- diff --git a/util.c b/util.c index abd094c7c..54cd40398 100644 --- a/util.c +++ b/util.c @@ -292,6 +292,7 @@ const char *tmp_string(void) return ret; } +/* Return the hash result as a hex string. Caller frees. */ char *format_hash_as_string(const unsigned char *hash, unsigned size) { char *ret;