X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=checkout-cache.c;h=64ce92147fdf200798be2578ddb051f9115a7ba5;hb=f1a7eb36b017c62d9a007b6b8660bdeec3f94f97;hp=244ebd122601883e15e8aefea33c7daf8249d862;hpb=74c7cfa875448c71a18d21a0cc7c973afe759fa5;p=git.git diff --git a/checkout-cache.c b/checkout-cache.c index 244ebd12..64ce9214 100644 --- a/checkout-cache.c +++ b/checkout-cache.c @@ -48,6 +48,7 @@ static void create_directories(const char *path) buf[len] = 0; mkdir(buf, 0755); } + free(buf); } static int create_file(const char *path, unsigned int mode)