Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 216a8d41 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Fix PVS Studio warning

V611 The memory was allocated using 'new T[]' operator but was released using the 'delete' operator. Consider inspecting this code. It's probably better to use 'delete [] transfers;'. kis_perchannel_filter.cpp 501
parent 5bacca69
......@@ -498,7 +498,7 @@ KoColorTransformation* KisPerChannelFilter::createTransformation(const KoColorSp
transfers[i] = originalTransfers[i].constData();
KoColorTransformation* t = cs->createPerChannelAdjustment(transfers);
delete transfers;
delete [] transfers;
return t;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment