diff options
Diffstat (limited to 'difftool')
-rw-r--r-- | difftool/compare_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/difftool/compare_file.c b/difftool/compare_file.c index c424220..c427f38 100644 --- a/difftool/compare_file.c +++ b/difftool/compare_file.c @@ -55,6 +55,7 @@ int compare_files(file_info_t *a, file_info_t *b, const char *path) if (bptr == MAP_FAILED) { fprintf(stderr, "mmap %s/%s: %s\n", second_path, path, strerror(errno)); + munmap(aptr, diff); goto fail_bfd; } |