summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.h
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-29 22:26:29 +0300
committerMataes <mataes2007@gmail.com>2020-04-29 22:26:29 +0300
commit541b745c3cbe85c363c02ac8846b0fe425b35f93 (patch)
tree58e7b896d2ed83771e846111c33c24f8fcb3fdab /plugins/NewStory/src/history_array.h
parentd781cfdb76e0e81e0990208514e614d1b785d803 (diff)
newstory: small cleanup
Diffstat (limited to 'plugins/NewStory/src/history_array.h')
-rw-r--r--plugins/NewStory/src/history_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.h b/plugins/NewStory/src/history_array.h
index 50e6fb1c97..8b670fce8f 100644
--- a/plugins/NewStory/src/history_array.h
+++ b/plugins/NewStory/src/history_array.h
@@ -86,7 +86,7 @@ public:
{
if (!-- * refCount) {
delete refCount;
- if (text) delete[] text;
+ delete[] text;
}
}