Fixing path quoting in git-rebase
[gitweb.git] / diffcore-rename.c
index 4fc200064ae655c6936828c6bf04234afde778ce..142e5376dd741377c311075816f139a0949ee82f 100644 (file)
@@ -378,10 +378,10 @@ void diffcore_rename(struct diff_options *options)
                        m->score = estimate_similarity(one, two,
                                                       minimum_score);
                        m->name_score = basename_same(one, two);
-                       diff_free_filespec_data_large(one);
+                       diff_free_filespec_blob(one);
                }
                /* We do not need the text anymore */
-               diff_free_filespec_data_large(two);
+               diff_free_filespec_blob(two);
                dst_cnt++;
        }
        /* cost matrix sorted by most to least similar pair */