diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-07 13:42:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-07 13:42:45 +0300 |
commit | 65d05fca0dfefce3caf09512bd403779c6fe9497 (patch) | |
tree | 6520843061623b17328aa3c12024cd599094e74e /source | |
parent | d61f5451c043b52dee2217717a25242d2ea5a264 (diff) |
Fix #20488: fields render was crashing.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 95e98c1861c..db8d7e317a0 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -2055,7 +2055,6 @@ static void do_render_fields_3d(Render *re) BLI_rw_mutex_lock(&re->resultmutex, THREAD_LOCK_WRITE); re->result= new_render_result(re, &re->disprect, 0, RR_USEMEM); - RE_FreeRenderResult(rr1); if(rr2) { if(re->r.mode & R_ODDFIELD) @@ -2065,6 +2064,8 @@ static void do_render_fields_3d(Render *re) RE_FreeRenderResult(rr2); } + + RE_FreeRenderResult(rr1); re->i.curfield= 0; /* stats */ |