Fixed stream not set to nil when error occurs when opening

This commit is contained in:
Thong Nguyen 2014-02-13 18:06:24 +00:00
parent aa441045aa
commit a15c2c27ff
1 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,8 @@
{
CFRelease(stream);
CFRelease(message);
stream = 0;
[self errorOccured];