*
* MIME database file routines for the Common UNIX Printing System (CUPS).
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2008 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
if (!mime)
mime = mimeNew();
if (!mime)
+ {
+ cupsDirClose(dir);
return (NULL);
+ }
/*
* Read all the .types files...