Skip to content

Commit dc4cd83

Browse files
committed
stream isn't freed.
1 parent 52bba35 commit dc4cd83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Classes/GTObjectDatabase.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ - (NSString *)shaByInsertingString:(NSString *)data objectType:(GTObjectType)typ
113113
*error = [NSError git_errorFor:gitError withAdditionalDescription:@"Failed to finalize write on odb."];
114114
return nil;
115115
}
116+
117+
stream->free(stream);
116118

117119
return [NSString git_stringWithOid:&oid];
118120
}

0 commit comments

Comments
 (0)