aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-07-27 01:47:28 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-07-27 01:47:28 +0000
commit2bcab180b1d5510c285eccc202188b3aa40ce3db (patch)
treef244e5a6b354dcb6e051dc0cc4f249779d598f70 /libsylph
parentc1b58a5a19f6ba0f096234d76d031feb483c16fa (diff)
fixed a memory leak.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1102 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/md5_hmac.c3
1 files changed, 2 insertions, 1 deletions
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);
}