- AEDisposeDesc(&resultDesc);
- result = [NSString stringWithCString:buffer length:length];
- if (![result isEqualToString:@""] &&
- ([result characterAtIndex:0] == '\"') &&
- ([result characterAtIndex:[result length] - 1] == '\"'))
- {
- result = [result substringWithRange:NSMakeRange(1, [result length] - 2)];
- }
- free(buffer);
- buffer = NULL;