archivers/mvl.c
changeset 678 73a2641375a0
parent 658 1981818c6170
child 691 71d9affe0d8a
--- a/archivers/mvl.c	Sun Mar 13 03:18:18 2005 +0000
+++ b/archivers/mvl.c	Sun Mar 13 03:33:11 2005 +0000
@@ -268,12 +268,7 @@
     memset(info, '\0', sizeof (MVLinfo));
 
     info->filename = (char *) malloc(strlen(name) + 1);
-    if (info->filename == NULL)
-    {
-        __PHYSFS_setError(ERR_OUT_OF_MEMORY);
-        goto MVL_openArchive_failed;
-    } /* if */
-
+    GOTO_IF_MACRO(!info->filename, ERR_OUT_OF_MEMORY, MVL_openArchive_failed);
     if (!mvl_load_entries(name, forWriting, info))
         goto MVL_openArchive_failed;