Rename strbuf_cleanup to strbuf_free

It frees the whole object.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-02-16 17:15:11 +01:00
parent 425ac7a253
commit cfb1a0e555
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ void strbuf_complete(struct strbuf *str) {
}
/* clean up everything */
struct strbuf* strbuf_cleanup(struct strbuf *str) {
struct strbuf* strbuf_free(struct strbuf *str) {
if (!str)
return NULL;