summaryrefslogtreecommitdiff
path: root/udev_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils.c')
-rw-r--r--udev_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_utils.c b/udev_utils.c
index fd4cd13e5d..500d595c01 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -403,6 +403,7 @@ int pass_env_to_socket(const char *sockname, const char *devpath, const char *ac
if (retval != -1)
retval = 0;
+ close(sock);
return retval;
}