Skip to content

Commit 6397712

Browse files
committed
Fix missing [super init] in PBGitRef
1 parent 6b08bd5 commit 6397712

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Classes/git/PBGitRef.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ + (PBGitRef*) refFromString: (NSString*) s
109109

110110
- (PBGitRef*) initWithString: (NSString*) s
111111
{
112+
self = [super init];
113+
if (!self) {
114+
return nil;
115+
}
112116
ref = s;
113117
return self;
114118
}

0 commit comments

Comments
 (0)