jiangyuanjian / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

Incorrect decrement of the reference count of members #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In several places, in the - dealloc method, the members are incorrectly 
released using "self."

- NgnDeviceInfo.mm
 -(void)dealloc
{
    [self.lang release];
    [self.country release];
    [self.date release];

    [super dealloc];
}

The correct way would be
[lang release];
[country release];
[date release];

It happens in NgnPublicationEventArgs.m too

Original issue reported on code.google.com by bmata...@gmail.com on 1 Jul 2013 at 6:51

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 1 Jul 2013 at 8:21