Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
userdiff: release strbuf after use in userdiff_get_textconv()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 18:20:15 +0000
(20:20 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:28 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
userdiff.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
4168be8
)
diff --git
a/userdiff.c
b/userdiff.c
index 2c1502f719a17abaef6c5c56439c560994b45d37..6321103ce25dea936eea84fdb2a0d6d636e1cddb 100644
(file)
--- a/
userdiff.c
+++ b/
userdiff.c
@@
-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;