Merge branch 'master' into blender2.8
[blender.git] / source / blender / render / intern / source / pipeline.c
index 0ca9aa4..e9bc877 100644 (file)
@@ -1835,7 +1835,7 @@ static void do_render_all_options(Render *re)
        re->i.starttime = PIL_check_seconds_timer();
 
        /* ensure no images are in memory from previous animated sequences */
-       BKE_image_all_free_anim_ibufs(re->r.cfra);
+       BKE_image_all_free_anim_ibufs(re->main, re->r.cfra);
        BKE_sequencer_all_free_anim_ibufs(re->r.cfra);
 
        if (RE_engine_render(re, 1)) {