Rename strbuf_cleanup to strbuf_free
It frees the whole object.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user