Merge branch 'jk/misc-resolve-ref-unsafe-fixes'
[gitweb.git] / userdiff.c
index d31466722091c600bcb42420f5e4f38e6763b0fd..dbfb4e13cddceaa44feee51016c9b837f7f4fce1 100644 (file)
@@ -293,6 +293,7 @@ struct userdiff_driver *userdiff_get_textconv(struct userdiff_driver *driver)
                strbuf_addf(&name, "textconv/%s", driver->name);
                notes_cache_init(c, name.buf, driver->textconv);
                driver->textconv_cache = c;
+               strbuf_release(&name);
        }
 
        return driver;