account_creator null when leaving assistantLinkView

This commit is contained in:
Benjamin Reis 2016-11-17 11:52:14 +01:00
parent bd606716f2
commit 58b6db1bbc

View file

@ -86,7 +86,10 @@
}
- (void)viewDidDisappear:(BOOL)animated {
linphone_account_creator_unref(account_creator);
if (account_creator) {
linphone_account_creator_unref(account_creator);
}
account_creator = NULL;
[super viewDidDisappear:animated];
}