commit 0422f39b741cb9e80362f83f21a5c4ab279d27c3
parent 78591b77bb44d0907cd974b37d534629bc63b6dc
Author: Mohamed Aslan <maslan@sce.carleton.ca>
Date: Thu, 29 May 2014 13:07:50 -0400
fix a bug in mkdirp() where free() is passed a garbage
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dircache-simple.c b/dircache-simple.c
@@ -106,7 +106,7 @@ static int
mkdirp(const char *parent, const char *dir)
{
char *o, *start, *end;
- char *path;
+ char *path = NULL;
int retval;
struct stat s;