From 2bcab180b1d5510c285eccc202188b3aa40ce3db Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 27 Jul 2006 01:47:28 +0000 Subject: fixed a memory leak. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1102 ee746299-78ed-0310-b773-934348b2243d --- libsylph/md5_hmac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libsylph') diff --git a/libsylph/md5_hmac.c b/libsylph/md5_hmac.c index 5b264b0f..77ae39e9 100644 --- a/libsylph/md5_hmac.c +++ b/libsylph/md5_hmac.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -130,4 +130,5 @@ md5_hex_hmac(gchar *hexdigest, md5 = md5_hmac_get(text, text_len, key, key_len); s_gnet_md5_copy_string(md5, hexdigest); hexdigest[S_GNET_MD5_HASH_LENGTH * 2] = '\0'; + s_gnet_md5_delete(md5); } -- cgit v1.2.3