mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Fix nul pointer error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13996 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2f4773d950
commit
f2b88ab690
2 changed files with 9 additions and 0 deletions
|
@ -1399,6 +1399,10 @@ static BOOL double_release_check_enabled = NO;
|
|||
*/
|
||||
- (BOOL) respondsToSelector: (SEL)aSelector
|
||||
{
|
||||
if (aSelector == 0)
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
return __objc_responds_to(self, aSelector);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue