diff options
Diffstat (limited to 'pdf/pdf_annot.c')
-rw-r--r-- | pdf/pdf_annot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_annot.c b/pdf/pdf_annot.c index 2a569e5c..9cfb8f93 100644 --- a/pdf/pdf_annot.c +++ b/pdf/pdf_annot.c @@ -14,7 +14,7 @@ pdf_free_link(fz_context *ctx, pdf_link *link) fz_free(ctx, link); link = next; } - while(link != NULL); + while(link); } static fz_obj * @@ -166,7 +166,7 @@ pdf_free_annot(fz_context *ctx, pdf_annot *annot) fz_free(ctx, annot); annot = next; } - while (annot != NULL); + while (annot); } static void |