Commit b9eb3a2d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

mkv: removing virtual destructors for classes that are never inherited.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 07f84f2a
...@@ -134,7 +134,7 @@ public: ...@@ -134,7 +134,7 @@ public:
{ {
p_data = NULL; p_data = NULL;
} }
virtual ~attachment_c() { free( p_data ); } ~attachment_c() { free( p_data ); }
/* Allocs the data space. Returns true if allocation went ok */ /* Allocs the data space. Returns true if allocation went ok */
bool init() bool init()
...@@ -159,7 +159,7 @@ class matroska_stream_c ...@@ -159,7 +159,7 @@ class matroska_stream_c
{ {
public: public:
matroska_stream_c() :p_io_callback(NULL) ,p_estream(NULL) {} matroska_stream_c() :p_io_callback(NULL) ,p_estream(NULL) {}
virtual ~matroska_stream_c() ~matroska_stream_c()
{ {
delete p_io_callback; delete p_io_callback;
delete p_estream; delete p_estream;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment