diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-11-19 16:00:42 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-11-19 16:00:42 +0000 |
| commit | 7e9ab6b241803cd86a09c6d10f351fa032153852 (patch) | |
| tree | e92e0b9a161a6cccfffd0f59733ac0ba029ba3dd | |
| parent | 986a32f10a0681c825a02a2b4b494ac98f7379a2 (diff) | |
Fix refcounting error in SoapEnvelope class
- lasso/xml/soap_envelope.c (lasso_soap_envelope_new): fix forgotten
reference count increase when assigning the body.
| -rw-r--r-- | lasso/xml/soap_envelope.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/soap_envelope.c b/lasso/xml/soap_envelope.c index dbead003..351a6006 100644 --- a/lasso/xml/soap_envelope.c +++ b/lasso/xml/soap_envelope.c @@ -23,6 +23,7 @@ */ #include <lasso/xml/soap_envelope.h> +#include "../utils.h" /** * SECTION:soap_envelope @@ -93,7 +94,7 @@ lasso_soap_envelope_new(LassoSoapBody *body) envelope = g_object_new(LASSO_TYPE_SOAP_ENVELOPE, NULL); - envelope->Body = body; + lasso_assign_gobject(envelope->Body, body); return envelope; } |
