Small leak of CXMLDocument when loading data from URL fails. #31

Merged
merged 1 commit into from Mar 31, 2014
View
1 Source/CXMLDocument.m
@@ -175,6 +175,7 @@ - (id)initWithContentsOfURL:(NSURL *)inURL encoding:(NSStringEncoding)encoding o
}
else
{
+ [self release];
self = NULL;
}