diff options
Diffstat (limited to 'gui/predictivedialog.h')
-rw-r--r-- | gui/predictivedialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/predictivedialog.h b/gui/predictivedialog.h index 37c80a2a14..4c167c3efa 100644 --- a/gui/predictivedialog.h +++ b/gui/predictivedialog.h @@ -85,6 +85,7 @@ private: struct Dict { Dict() : dictLine(nullptr), dictText(nullptr), dictActLine(nullptr), dictLineCount(0), dictTextSize(0) {} + ~Dict() { free(dictText); } char **dictLine; char *dictText; char *dictActLine; // using only for united dict... |