Merge branch 'jk/sha1dc'
[gitweb.git] / builtin / log.c
index bfdc7a23d36473a271a1296b67ed0c850407c6bc..670229cbb4c2a80e7389bc9d65f92455d1d34427 100644 (file)
@@ -1084,7 +1084,7 @@ static const char *set_outdir(const char *prefix, const char *output_directory)
        if (!output_directory)
                return prefix;
 
-       return xstrdup(prefix_filename(prefix, output_directory));
+       return prefix_filename(prefix, output_directory);
 }
 
 static const char * const builtin_format_patch_usage[] = {