Skip to content

Commit 25aa38a

Browse files
hannesa2Copilot
andauthored
Release resources and free stream in GTFilter
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3aa60d3 commit 25aa38a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ObjectiveGit/GTFilter.m‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ static void GTFilterStreamFree(git_writestream *s) {
148148
CFBridgingRelease(stream->filterRef);
149149
CFBridgingRelease(stream->sourceRef);
150150
CFBridgingRelease(stream->bufferRef);
151+
stream->next->free(stream->next);
151152
free(stream);
152153
}
153154

0 commit comments

Comments
 (0)