Opened 14 years ago Closed 14 years ago #18 closed defect (fixed)Minor memory leak in both encoder and decoder in TMuC 0.5
Description
When QC_MDDT is defined, the following variables allocated in source\Lib\TLibCommon\TComRom.cpp are not freed in the decoder. Some of them are not freed in the encoder.
In TMuC 0.5 encoder, some of these variables are released in Void TAppEncTop::encode(). I think we'd better release them in Void destroyROM() (TComRom.cpp). Otherwise, we have to keep duplicate code in both encoder and decoder. To fix this problem, maybe we can put the following code at the end of Void destroyROM() and remove the related code in Void TAppEncTop::encode().
#if QC_MDDT ADAPTIVE_SCAN
#endif Change History (5)comment:1 Changed 14 years ago by fbossen
comment:2 Changed 14 years ago by fbossen
comment:3 Changed 13 years ago by davidf
comment:4 Changed 13 years ago by davidf
comment:5 Changed 13 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Updating component after adding WD (Text) tickets