diff options
-rw-r--r-- | apps/pdfapp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 6aefc232..1b25d8a8 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -1568,6 +1568,7 @@ void pdfapp_postblit(pdfapp_t *app) app->image = app->new_image; app->new_image = NULL; fz_drop_pixmap(app->ctx, app->old_image); + app->old_image = NULL; if (app->duration != 0) winadvancetimer(app, app->duration); } |