Changeset 8579


Ignore:
Timestamp:
Jun 1, 2009, 2:11:52 PM (13 years ago)
Author:
charles
Message:

(trunk qt) plug memory leak

Location:
trunk/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/my-valgrind.sh

    r8570 r8579  
    33export G_DEBUG=gc-friendly
    44export GLIBCXX_FORCE_NEW=1
    5 valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./qtr -r http://localhost:9091/
     5valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./qtr
  • trunk/qt/session.cc

    r8570 r8579  
    614614    }
    615615
     616    delete sourceDevice;
    616617    myBuffer.buffer( ).clear( );
    617618    myBuffer.reset( );
Note: See TracChangeset for help on using the changeset viewer.