зеркало из https://github.com/microsoft/git.git
userdiff: release strbuf after use in userdiff_get_textconv()
Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
4168be8e39
Коммит
460c7eb2bf
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче