Documentation: fix misrender of pretty-formats in Asciidoctor
[gitweb.git] / diffcore-rename.c
index 79030412dbf883147f35678505ad147dc9c240a8..93c40d9e04f35897b1ac2ad578db0c0972aacbc1 100644 (file)
@@ -329,6 +329,7 @@ void diffcore_rename(struct diff_options *options)
                        m->dst = i;
                        m->score = estimate_similarity(one, two,
                                                       minimum_score);
+                       diff_free_filespec_data(one);
                }
                /* We do not need the text anymore */
                diff_free_filespec_data(two);