summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2002-12-14 10:45:25 +0000
committerStefan Esser <sesser@php.net>2002-12-14 10:45:25 +0000
commit75d8056e111ba27aa9f99442942dae0ab74a463c (patch)
tree67d526bba065de90c8ef945017e8c58251d6942c
parentc07f7c8df8f654da07f64496e1712951e3a270a1 (diff)
downloadphp-git-75d8056e111ba27aa9f99442942dae0ab74a463c.tar.gz
cleanup
-rw-r--r--main/rfc1867.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 60dfc2fe78..3d54f2a723 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -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 */