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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-07-27 11:59:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-07-27 11:59:09 +0300
commit5f95ffe35034120189340cd413f24979da92109e (patch)
tree4076f8060cff3b1320c07a1148aa1a52aa292801 /source/blender/gpu/intern/gpu_codegen.h
parent3d8c2e25a3af1ea1645f5a6df1b566ae6313e657 (diff)
Fix T48829: Memory leak on Blender Exit
It was possible to have missing outlink but GPUNodes in material.
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.h')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h
index 417e46a83ee..7af17f9122d 100644
--- a/source/blender/gpu/intern/gpu_codegen.h
+++ b/source/blender/gpu/intern/gpu_codegen.h
@@ -183,6 +183,7 @@ void GPU_pass_update_uniforms(GPUPass *pass);
void GPU_pass_unbind(GPUPass *pass);
void GPU_pass_free(GPUPass *pass);
+void GPU_pass_free_nodes(ListBase *nodes);
void gpu_codegen_init(void);
void gpu_codegen_exit(void);