diff --git a/Source/objc-load.m b/Source/objc-load.m index 3cfeb33dea..738de6cbcb 100644 --- a/Source/objc-load.m +++ b/Source/objc-load.m @@ -281,7 +281,7 @@ s = [NSString stringWithUTF8String: info.dli_fname]; s = [s stringByResolvingSymlinksInPath]; - s = [s stringByStandardizingPath]; + return [s stringByStandardizingPath]; } #endif @@ -327,7 +327,7 @@ s = [NSString stringWithUTF8String: ret]; s = [s stringByResolvingSymlinksInPath]; - s = [s stringByStandardizingPath]; + return [s stringByStandardizingPath]; } } return nil;