Fix compositor memory leak after recent color management changes
This commit is contained in:
parent
d120a083da
commit
a250d3d1b7
@ -225,6 +225,11 @@ OutputSingleLayerOperation::OutputSingleLayerOperation(const Scene *scene,
|
|||||||
save_as_render_ = save_as_render;
|
save_as_render_ = save_as_render;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OutputSingleLayerOperation::~OutputSingleLayerOperation()
|
||||||
|
{
|
||||||
|
BKE_image_format_free(&format_);
|
||||||
|
}
|
||||||
|
|
||||||
void OutputSingleLayerOperation::init_execution()
|
void OutputSingleLayerOperation::init_execution()
|
||||||
{
|
{
|
||||||
image_input_ = get_input_socket_reader(0);
|
image_input_ = get_input_socket_reader(0);
|
||||||
|
@ -39,6 +39,7 @@ class OutputSingleLayerOperation : public MultiThreadedOperation {
|
|||||||
const char *path,
|
const char *path,
|
||||||
const char *view_name,
|
const char *view_name,
|
||||||
bool save_as_render);
|
bool save_as_render);
|
||||||
|
~OutputSingleLayerOperation();
|
||||||
|
|
||||||
void execute_region(rcti *rect, unsigned int tile_number) override;
|
void execute_region(rcti *rect, unsigned int tile_number) override;
|
||||||
bool is_output_operation(bool /*rendering*/) const override
|
bool is_output_operation(bool /*rendering*/) const override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user