about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-24 06:11:27 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-24 06:11:27 +0000
commit0c571040e2f0b9735c649463881d3498e58a010e (patch)
treed27878925e2b90553e230d6feea5ec005d281ffb
parentf4942eca1e4db6087bd128e6bce3e490c3ff89f2 (diff)
downloadglibc-0c571040e2f0b9735c649463881d3498e58a010e.tar.gz
glibc-0c571040e2f0b9735c649463881d3498e58a010e.tar.xz
glibc-0c571040e2f0b9735c649463881d3498e58a010e.zip
Update.
	* crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
	destructor).  Reported by Solar Designer <solar@false.com>.
-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);