]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diffcore-pickaxe.c
diff -S: release the image after looking for needle in it
[thirdparty/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;
 }