SHA256
1
0
forked from pool/gsoap
Jan Engelhardt 2016-01-29 00:50:12 +00:00 committed by Git OBS Bridge
parent 307ba34bcd
commit 68e76e74c4

View File

@ -1,8 +1,8 @@
References: http://sf.net/p/gsoap2/bugs/1007/
---
gsoap/stdsoap2.cpp | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
gsoap/stdsoap2.cpp | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)
Index: gsoap-2.8.22/gsoap/stdsoap2.cpp
===================================================================
@ -35,7 +35,21 @@ Index: gsoap-2.8.22/gsoap/stdsoap2.cpp
}
#endif
@@ -8981,7 +8991,14 @@ SOAP_FMAC1
@@ -7278,7 +7288,12 @@ SOAP_FMAC1
void
SOAP_FMAC2
soap_del(struct soap *soap)
-{ free(soap);
+{
+#ifdef __cplusplus
+ SOAP_DELETE(soap);
+#else
+ free(soap);
+#endif
}
#endif
@@ -8981,7 +8996,14 @@ SOAP_FMAC1
struct soap*
SOAP_FMAC2
soap_copy(const struct soap *soap)