From 07cc7bbb5ffee18917c9c2be07299fef51e8a45e Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Thu, 18 Mar 2010 13:04:01 +0100 Subject: [PATCH] Add a comment to indicate who's responsible for freeing the returned string --- util.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2