]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/interpret.c
Import CUPS 1.4svn-r7226.
[thirdparty/cups.git] / filter / interpret.c
index 16bb7aedda832c9f205a2f5f0761f18cd35cfd18..e0db81e63f580b5ab4ab9692246b300244f3303e 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   PPD command interpreter for the Common UNIX Printing System (CUPS).
  *
- *   Copyright 2007 by Apple Inc.
+ *   Copyright 2007-2008 by Apple Inc.
  *   Copyright 1993-2007 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -571,7 +571,7 @@ _cupsRasterExecPS(
           break;
     }
 
-    if (obj->type == CUPS_PS_OTHER)
+    if (obj && obj->type == CUPS_PS_OTHER)
       break;
   }