Skip to content

Commit 4ad5d7b

Browse files
committed
Free a git_buffer
1 parent 937d94e commit 4ad5d7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guides/101-samples/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ int error = git_blob_filtered_content(
774774
blob, /* blob */
775775
"README.md", /* path (for attribute-based filtering) */
776776
true); /* check if binary? */
777+
git_buf_free(&filtered_content);
777778
```
778779
779780
(

0 commit comments

Comments
 (0)