The **[git_blob_filtered_content doc](https://github.com/libgit2/libgit2/blob/HEAD/include/git2/blob.h#L110-L115)** states the following

```
If no filters need to be applied, then the out buffer will just be populated with
a pointer to the raw content of the blob. In that case, be careful to not free the
blob until done with the buffer.
```

Considering the case where no filter is applied, wouldn't we streaming back garbage data when `osw` is eventually disposed (and the associated pointer is freed)?