Code

Add has_symlink_leading_path() function.
[git.git] / diffcore-pickaxe.c
index 286919e71428049eda1449ba71ac81667ebc3f7d..c4a77d71da5602b68c541c2487fcbecfdfff2944 100644 (file)
@@ -44,6 +44,7 @@ static unsigned int contains(struct diff_filespec *one,
                        }
                }
        }
+       diff_free_filespec_data(one);
        return cnt;
 }