Fix a memory leak if parent directory creation failed.
[oweals/busybox.git] / libbb / remove_file.c
index 23be40429333231f25e986035445ffd9c1935c13..3b84680c4d03647903bf83d24fd186ca5940ce5c 100644 (file)
@@ -29,6 +29,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <string.h>
 #include <getopt.h>
 #include "libbb.h"