]> asedeno.scripts.mit.edu Git - git.git/blobdiff - quote.c
Merge branch 'np/progress'
[git.git] / quote.c
diff --git a/quote.c b/quote.c
index 800fd88c9ae9979bf44c91fea54c092cdafdb33c..482be05b7af159b9b47095fedfbdfa3bda65c748 100644 (file)
--- a/quote.c
+++ b/quote.c
@@ -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) {