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
path: root/source
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2019-04-11 17:21:43 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2019-04-11 17:22:55 +0300
commit8e774b3ae4a3ae169e6a688321b41460bc9e4f15 (patch)
tree589000a7783cc6d345a5c4ef2e57ed7f733735f1 /source
parent0576f4ca9b41f1f0e7dfdd896e539488419306ff (diff)
Alembic export: free depsgraph after use
Diffstat (limited to 'source')
-rw-r--r--source/blender/alembic/intern/alembic_capi.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc
index bf10a9498b5..541db514bb0 100644
--- a/source/blender/alembic/intern/alembic_capi.cc
+++ b/source/blender/alembic/intern/alembic_capi.cc
@@ -292,6 +292,8 @@ static void export_endjob(void *customdata)
{
ExportJobData *data = static_cast<ExportJobData *>(customdata);
+ DEG_graph_free(data->settings.depsgraph);
+
if (data->was_canceled && BLI_exists(data->filename)) {
BLI_delete(data->filename, false, false);
}