diff options
Diffstat (limited to 'quote.c')
-rw-r--r-- | quote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ void sq_quote_buf(struct strbuf *dst, const char *src) char *to_free = NULL; if (dst->buf == src) - to_free = strbuf_detach(dst); + to_free = strbuf_detach(dst, NULL); strbuf_addch(dst, '\''); while (*src) { |