diff options
Diffstat (limited to 'hwpfilter/source/hinfo.h')
-rw-r--r-- | hwpfilter/source/hinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h index 7f1eee0657c7..a381cc1dfb59 100644 --- a/hwpfilter/source/hinfo.h +++ b/hwpfilter/source/hinfo.h @@ -24,6 +24,7 @@ #include "string.h" #include <vector> +#include <memory> #define CHAIN_MAX_PATH 40 #define ANNOTATION_LEN 24 @@ -201,7 +202,7 @@ class DLLEXPORT HWPInfo * Summary of document */ HWPSummary summary; - unsigned char *info_block; + std::unique_ptr<unsigned char[]> info_block; HWPInfo(void); ~HWPInfo(void); |