From 424bb589a22cfa6b2ceaba2a9edc61c08e46f74a Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Tue, 1 Jan 2013 01:14:35 +0800 Subject: [PATCH] Make io_data_t destructor virtual --- io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.h b/io.h index d811f6ea2..b7abbec76 100644 --- a/io.h +++ b/io.h @@ -108,7 +108,7 @@ class io_data_t { } - ~io_data_t() + virtual ~io_data_t() { free((void *)filename_cstr); }