Revert "[PATCH] plug memory leak in diff.c::diff_free_filepair()"
[git.git] / diffcore.h
index 633d1ae..f1b5ca7 100644 (file)
@@ -43,7 +43,7 @@ extern void fill_filespec(struct diff_filespec *, const unsigned char *,
                          unsigned short);
 
 extern int diff_populate_filespec(struct diff_filespec *, int);
-extern void diff_free_filespec(struct diff_filespec *);
+extern void diff_free_filespec_data(struct diff_filespec *);
 
 struct diff_filepair {
        struct diff_filespec *one;