summary refs log tree commit diff
path: root/libio/genops.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-04-16 23:59:09 +0000
committerJakub Jelinek <jakub@redhat.com>2007-04-16 23:59:09 +0000
commite220c524c93b053a1dea504a2d18288ff8f32b9a (patch)
tree4193293c838a7db46f2cc0c2b50cb8601dcddb8d /libio/genops.c
parenta891c7b0e014df5df027249f59cb444b87afdf30 (diff)
downloadglibc-e220c524c93b053a1dea504a2d18288ff8f32b9a.tar.gz
glibc-e220c524c93b053a1dea504a2d18288ff8f32b9a.tar.xz
glibc-e220c524c93b053a1dea504a2d18288ff8f32b9a.zip
Updated to fedora-glibc-20070416T2350 cvs/fedora-glibc-2_5_90-21
Diffstat (limited to 'libio/genops.c')
-rw-r--r--libio/genops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/genops.c b/libio/genops.c
index 8d62da7781..3f8d71a50f 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1997-2002, 2003, 2004, 2006
+/* Copyright (C) 1993,1995,1997-2002, 2003, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -696,12 +696,12 @@ _IO_default_finish (fp, dummy)
       fp->_IO_save_base = NULL;
     }
 
+  INTUSE(_IO_un_link) ((struct _IO_FILE_plus *) fp);
+
 #ifdef _IO_MTSAFE_IO
   if (fp->_lock != NULL)
     _IO_lock_fini (*fp->_lock);
 #endif
-
-  INTUSE(_IO_un_link) ((struct _IO_FILE_plus *) fp);
 }
 INTDEF(_IO_default_finish)