summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fchown.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/fchown.c')
-rw-r--r--cpukit/libcsupport/src/fchown.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/fchown.c b/cpukit/libcsupport/src/fchown.c
index bd787d89e3..8c3d9b2c6c 100644
--- a/cpukit/libcsupport/src/fchown.c
+++ b/cpukit/libcsupport/src/fchown.c
@@ -72,5 +72,7 @@ int fchown( int fd, uid_t owner, gid_t group )
rtems_filesystem_instance_unlock( &iop->pathinfo );
+ rtems_libio_iop_drop( iop );
+
return rv;
}