Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-02-22 12:58:49 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-02-22 12:58:49 +0300
commit9cfc203749c3a2534d0b71fccf645eb4406ef228 (patch)
tree18ea70be32a5b2fe6469ea8e3f95a011e17369af /source/blender/compositor/operations/COM_ConvolutionFilterOperation.h
parentc359343f8dae6689c955dc1fa700cb26f6cd2e95 (diff)
Compositor: fix memory leak in filter node operation.
Avoid allocating the (tiny) array on the heap in the first place. Reviewers: sergey, lukastoenne Differential Revision: https://developer.blender.org/D1815
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvolutionFilterOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ConvolutionFilterOperation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ConvolutionFilterOperation.h b/source/blender/compositor/operations/COM_ConvolutionFilterOperation.h
index 4c192481ba1..faab6577be9 100644
--- a/source/blender/compositor/operations/COM_ConvolutionFilterOperation.h
+++ b/source/blender/compositor/operations/COM_ConvolutionFilterOperation.h
@@ -33,7 +33,7 @@ private:
protected:
SocketReader *m_inputOperation;
SocketReader *m_inputValueOperation;
- float *m_filter;
+ float m_filter[9];
public:
ConvolutionFilterOperation();