Fixed a leak.

This commit is contained in:
Damiano Galassi committed 2016-07-05 10:27:10 +02:00
1 parent 78410a9671
commit 49d8af5ac7
1 file changed
+3 -1
+3 -1
View File
@@ -127,7 +127,7 @@ extern u_int8_t MP4AV_AacConfigGetChannels(u_int8_t* pConfig);
copy->_fallbackTrackId = _fallbackTrackId;
copy->_followsTrackId = _followsTrackId;
copy->_mixdownType = [_mixdownType retain];
copy->_mixdownType = [_mixdownType copy];
}
return copy;
@@ -190,6 +190,8 @@ extern u_int8_t MP4AV_AacConfigGetChannels(u_int8_t* pConfig);
- (void)dealloc
{
[_mixdownType release];
[super dealloc];
}