diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-10-19 00:21:04 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2012-10-19 00:21:04 +0200 |
commit | f677dfe83382a4010a69745bc29a7b844352ffdc (patch) | |
tree | dee8e26a59ddd61eeac2fa0e19b1f1a806a19af0 /apps | |
parent | d2db8764f90f3cdb9362625d4540f6740e23701a (diff) | |
download | mupdf-f677dfe83382a4010a69745bc29a7b844352ffdc.tar.xz |
Fix double free of old image in page transitions
Diffstat (limited to 'apps')
-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); } |