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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-09-23 14:07:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-09-23 14:07:32 +0300
commit840cce840e00cbd722feae585963eb4e01bc3033 (patch)
treee8aa6b23ea52023d2b8c2e4f8e1a1d09cbd57abf /source
parentdc86b7a4b5c61a4a6e195351961181b74fc15446 (diff)
Tracking: Fix crash when tracking failed
Was a dangling pointer to a freed memory left behind.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_clip/tracking_ops_track.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops_track.c b/source/blender/editors/space_clip/tracking_ops_track.c
index 42b017e6324..83462a85be3 100644
--- a/source/blender/editors/space_clip/tracking_ops_track.c
+++ b/source/blender/editors/space_clip/tracking_ops_track.c
@@ -310,6 +310,7 @@ static void track_markers_endjob(void *tmv)
static void track_markers_freejob(void *tmv)
{
TrackMarkersJob *tmj = (TrackMarkersJob *)tmv;
+ tmj->clip->tracking_context = NULL;
BKE_autotrack_context_free(tmj->context);
MEM_freeN(tmj);
}