diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-23 14:07:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-23 14:07:32 +0300 |
commit | 840cce840e00cbd722feae585963eb4e01bc3033 (patch) | |
tree | e8aa6b23ea52023d2b8c2e4f8e1a1d09cbd57abf /source/blender/editors/space_clip/tracking_ops_track.c | |
parent | dc86b7a4b5c61a4a6e195351961181b74fc15446 (diff) |
Tracking: Fix crash when tracking failed
Was a dangling pointer to a freed memory left behind.
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops_track.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops_track.c | 1 |
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); } |