ObjXMPP  Check-in [ec22f66cb0]

Overview
Comment:Fix a retain cycle.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ec22f66cb013fb3967af0df365a1694181d95227da4759cc8b738de0deb4de1a
User & Date: js on 2012-01-26 23:03:37
Other Links: manifest | tags
Context
2012-01-26
23:23
Add multicast delegates. check-in: 69ecc12d18 user: js tags: trunk
23:03
Fix a retain cycle. check-in: ec22f66cb0 user: js tags: trunk
22:25
Merge heads. check-in: 25962dfdba user: js tags: trunk
Changes

Modified src/XMPPRoster.m from [35aa833aba] to [a02f686076].

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

@implementation XMPPRoster
- initWithConnection: (XMPPConnection*)conn
{
	self = [super init];

	@try {
		connection = [conn retain];
		rosterItems = [[OFMutableDictionary alloc] init];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}

- (void)dealloc
{
	[connection release];
	[rosterItems release];
	[rosterID release];

	[super dealloc];
}

- (void)XMPP_addRosterItem: (XMPPRosterItem*)rosterItem







<











<







35
36
37
38
39
40
41

42
43
44
45
46
47
48
49
50
51
52

53
54
55
56
57
58
59

@implementation XMPPRoster
- initWithConnection: (XMPPConnection*)conn
{
	self = [super init];

	@try {

		rosterItems = [[OFMutableDictionary alloc] init];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}

- (void)dealloc
{

	[rosterItems release];
	[rosterID release];

	[super dealloc];
}

- (void)XMPP_addRosterItem: (XMPPRosterItem*)rosterItem