summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--crypt/md5-crypt.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 34a4771d07..51b249e600 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-08-23 Ulrich Drepper <drepper@redhat.com>
+ * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
+ destructor). Reported by Solar Designer <solar@false.com>.
+
* iconv/gconv_conf.c (add_module): Remove some unneeded code to
avoid adding double slashes.
diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c
index 66eda28d0c..2ca1021307 100644
--- a/crypt/md5-crypt.c
+++ b/crypt/md5-crypt.c
@@ -257,7 +257,7 @@ __md5_crypt (const char *key, const char *salt)
static void
-__attribute__ ((__constructor__))
+__attribute__ ((__destructor__))
free_mem (void)
{
free (buffer);