From 541b745c3cbe85c363c02ac8846b0fe425b35f93 Mon Sep 17 00:00:00 2001 From: Mataes Date: Wed, 29 Apr 2020 22:26:29 +0300 Subject: newstory: small cleanup --- plugins/NewStory/src/history_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/history_array.h') 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; } } -- cgit v1.2.3