Make io_data_t destructor virtual

This commit is contained in:
Cheer Xiao 2013-01-01 01:14:35 +08:00
parent 664fee5c6e
commit 424bb589a2

2
io.h
View file

@ -108,7 +108,7 @@ public:
{
}
~io_data_t()
virtual ~io_data_t()
{
free((void *)filename_cstr);
}