SHA256
1
0
forked from pool/gsoap
Jan Engelhardt 2016-01-29 00:45:39 +00:00 committed by Git OBS Bridge
parent fd30db509a
commit 307ba34bcd

View File

@ -1,8 +1,8 @@
References: http://sf.net/p/gsoap2/bugs/1007/
---
gsoap/stdsoap2.cpp | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
gsoap/stdsoap2.cpp | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
Index: gsoap-2.8.22/gsoap/stdsoap2.cpp
===================================================================
@ -23,7 +23,19 @@ Index: gsoap-2.8.22/gsoap/stdsoap2.cpp
if (soap)
soap_versioning(soap_init)(soap, imode, omode);
return soap;
@@ -8981,7 +8987,14 @@ SOAP_FMAC1
@@ -7268,7 +7274,11 @@ void
SOAP_FMAC2
soap_free(struct soap *soap)
{ soap_done(soap);
+#ifdef __cplusplus
+ SOAP_DELETE(soap);
+#else
free(soap);
+#endif
}
#endif
@@ -8981,7 +8991,14 @@ SOAP_FMAC1
struct soap*
SOAP_FMAC2
soap_copy(const struct soap *soap)