]> git.cworth.org Git - apitrace/commit
Don't call overridden virtual methods from the base destructor.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 27 Nov 2011 12:18:24 +0000 (12:18 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 27 Nov 2011 12:45:21 +0000 (12:45 +0000)
commit565b80cc4a88ab420cf5e2138300856888ad9968
tree01576f1cf9d1b0f6d0c496a8d80d6a5bfeea8859
parente64ba4980c20ba52f6b3a88bc817623052e6d0a8
Don't call overridden virtual methods from the base destructor.

It causes the program to terminate with "pure virtual method called"
error, as the derived class members are no longer accessible.
common/trace_file.cpp
common/trace_file_snappy.cpp
common/trace_file_zlib.cpp