summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevstart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/udevstart.c b/udevstart.c
index 5e6606d535..1d9b60464c 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -130,10 +130,13 @@ static void udev_scan(void)
udev_exec(filename, "block");
}
}
+ closedir(dir3);
}
}
+ closedir(dir2);
}
}
+ closedir(dir);
}
devpath = "class";
@@ -176,10 +179,13 @@ static void udev_scan(void)
udev_exec(filename, dent->d_name);
}
}
+ closedir(dir3);
}
}
+ closedir(dir2);
}
}
+ closedir(dir);
}
}