Fix crash occuring when clicking Cancel in the Contact view

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2012-01-13 18:20:32 +01:00
parent 9bb2bcb89d
commit f42fc2f2a9

View file

@ -394,7 +394,7 @@ int callCount(LinphoneCore* lc) {
} else if (sender == contacts) {
// start people picker
myPeoplePickerController = [[[ABPeoplePickerNavigationController alloc] init] autorelease];
[myPeoplePickerController setPeoplePickerDelegate:[[[ContactPickerDelegate alloc] init] autorelease]];
[myPeoplePickerController setPeoplePickerDelegate:[[ContactPickerDelegate alloc] init] ];
[self presentModalViewController: myPeoplePickerController animated:true];
} else if (sender == close) {