Skip to content

Commit

Permalink
Fixed a small leak when init-ing from a url fails due to NSData insta…
Browse files Browse the repository at this point in the history
…nce not being loaded.
  • Loading branch information
derrh committed Aug 31, 2012
1 parent 669fcbc commit 68873f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CXMLDocument.m
Expand Up @@ -175,6 +175,7 @@ - (id)initWithContentsOfURL:(NSURL *)inURL encoding:(NSStringEncoding)encoding o
}
else
{
[self release];
self = NULL;
}

Expand Down

0 comments on commit 68873f1

Please sign in to comment.