Changeset 69
- Timestamp:
- 12/27/05 14:19:29 (3 years ago)
- Files:
-
- trunk/Libs/SSHKeychain.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Libs/SSHKeychain.m
r68 r69 81 81 currentKeychain = nil; 82 82 83 int i; 84 for(i=0; i < [keychain count]; i++) 85 { 86 [[keychain objectAtIndex:i] release]; 87 } 88 89 [keychainLock lock]; 90 83 [keychainLock lock]; 91 84 [keychain release]; 92 keychain = nil;93 94 [keychainLock unlock];95 96 [ addingKeysLock dealloc];97 [ lastAddedLock dealloc];85 [keychainLock unlock]; 86 87 [keychainLock release]; 88 [addingKeysLock release]; 89 [lastAddedLock release]; 90 [agentSocketPath release]; 98 91 99 92 [super dealloc]; … … 132 125 - (void)setAgentSocketPath:(NSString *)path 133 126 { 134 agentSocketPath = [[NSString stringWithString:path] retain]; 127 NSString *oldAgentSocketPath = agentSocketPath; 128 agentSocketPath = [path copy]; 129 [oldAgentSocketPath release]; 135 130 } 136 131
