Opened 11 years ago

Closed 11 years ago

#1123 closed defect (fixed)

Small memory leak in the decoder

Reported by: dfsouza Owned by:
Priority: minor Milestone: HM-11.1
Component: HM Version: HM-11.0
Keywords: memory leak SEI messages Cc: fbossen, ksuehring, davidf, jct-vc@…

Description

Dear Experts,

There is a small memory leak in the HM 11.0 decoder when it is decoding the SEI messages.

File:/source/Lib/TLibDecoder/SEIread.cpp
Function:Void SEIReader::xReadSEImessage(SEIMessages& seis, const NalUnitType nalUnitType, TComSPS *sps)
Problem:m_fifo is not freed.

Solution:

Add

getBitstream()->deleteFifo();

before

delete getBitstream();

in the line 317 of the SEIread.cpp source file.


Best regards,

Diego Felix de Souza

Ph.D. Student -- Electrical Engineering
Instituto Superior Técnico
INESC-ID
Rua Alves Redol, 9
1000-029
Lisboa -- Portugal

Change History (2)

comment:1 Changed 11 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 11 years ago by fbossen

  • Milestone set to HM-11.1
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3521

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

  • David Flynn(Subscriber)
  • Diego Felix de Souza(Reporter)
  • Frank Bossen(Subscriber, Participant)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Always)