Menu

#1 memory leak in the class CStream

Tinycxx_V0.1.1
open-fixed
nobody
None
5
2002-06-22
2002-06-04
Anonymous
No

in the function CStream::FreeBuffer(), "delete" should
be "delete []" to free memory of
m_pchGetBuf/m_pchPutBuf

Discussion

  • Mark Ren

    Mark Ren - 2002-06-22
    • status: open --> open-fixed
     
  • Mark Ren

    Mark Ren - 2002-06-22
    • milestone: --> Tinycxx_V0.1.1
     
  • Mark Ren

    Mark Ren - 2002-06-22

    Logged In: YES
    user_id=274984

    That's a stupid bug. Fortunately, it doesn't cause memory
    leak because m_pchGetBuf/m_pchPutBuf are both 'char'
    array.

    It has been fixed. Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.