summaryrefslogtreecommitdiff
path: root/camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'camera.c')
-rw-r--r--camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera.c b/camera.c
index c0c897d..9b4c1ef 100644
--- a/camera.c
+++ b/camera.c
@@ -108,9 +108,9 @@ shootcamera(Camera *c, Shadertab *s)
t1 = nanosec();
c->vp->fbctl->swap(c->vp->fbctl);
+ updatestats(c, t1-t0);
updatetimes(c, job);
+
chanfree(job->donec);
free(job);
-
- updatestats(c, t1-t0);
}