[PATCH] plug memory leak in diff.c::diff_free_filepair()
[gitweb.git] / diff-cache.c
index e3c4c8155caeb8023e022194d828d9e515a2326d..47a4e09ecc99727c7c711a121cbd4d04892484ac 100644 (file)
@@ -163,7 +163,7 @@ static void mark_merge_entries(void)
        }
 }
 
-static char *diff_cache_usage =
+static const char diff_cache_usage[] =
 "git-diff-cache [-m] [--cached] "
 "[<common diff options>] <tree-ish> [<path>...]"
 COMMON_DIFF_OPTIONS_HELP;