]> granicus.if.org Git - php/commitdiff
cleanup
authorStefan Esser <sesser@php.net>
Sat, 14 Dec 2002 10:45:25 +0000 (10:45 +0000)
committerStefan Esser <sesser@php.net>
Sat, 14 Dec 2002 10:45:25 +0000 (10:45 +0000)
main/rfc1867.c

index 60dfc2fe78c5a7bd30c8059b1726bff3044a5b2c..3d54f2a72304ed86c6f48eadb718afd6097af246 100644 (file)
@@ -813,13 +813,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
 
                        /* If file_uploads=off, skip the file part */
                        if (!PG(file_uploads)) {
-                               if (filename) {
-                                       efree(filename);
-                               }
-                               if (param) {
-                                       efree(param);
-                               }
-                               continue;
+                               skip_upload = 1;
                        }
 
                        /* Return with an error if the posted data is garbled */