Merge pull request #10 from gunyarakun/fix-invalid-return
[cocotron.git] / Security / SecAccess.m
blob892b924247e59b8a4d81885cebbd0432a7bcf8ed
1 //
2 //  SecAccess.m
3 //  Security
4 //
5 //  Created by Christopher Lloyd on 2/12/10.
6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
7 //
9 #import "SecAccess.h"
12 @implementation SecAccess
14 -initWithDescriptor:(CFStringRef)descriptor trustedList:(CFArrayRef)trustedList {
15    _descriptor=CFRetain(descriptor);
16    _trustedList=(CFArrayRef)CFRetain(trustedList);
17    return self;
20 -(void)dealloc {
21    CFRelease(_descriptor);
22    CFRelease(_trustedList);
23    [super dealloc];
26 @end