Index: fpdfsdk/src/fsdk_baseform.cpp |
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp |
index ae3b6364d31d31804e59edd357d4171cfa8f9ac0..aa87dd56bb1951227ddc8048ba56005eec109edf 100644 |
--- a/fpdfsdk/src/fsdk_baseform.cpp |
+++ b/fpdfsdk/src/fsdk_baseform.cpp |
@@ -2284,12 +2284,6 @@ FX_BOOL CPDFSDK_InterForm::SubmitFields(const CFX_WideString& csDestination, con |
pEnv->JS_docSubmitForm(pBuffer, nBufSize, (FX_LPCWSTR)csDestination); |
- if (bUrlEncoded && pBuffer) |
- { |
- FX_Free(pBuffer); |
- pBuffer = NULL; |
- } |
- |
return TRUE; |
} |