diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:05 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:05 +0000 |
| commit | 4d2d8552dcc88e4df8a7c09ec95ff44c8cce9aa2 (patch) | |
| tree | b1f92582f3093a20d5b625344767da99dc3cad96 | |
| parent | 80a031f3ac3d701816cb9893b37da86c5c2f26c4 (diff) | |
| download | lasso-4d2d8552dcc88e4df8a7c09ec95ff44c8cce9aa2.tar.gz lasso-4d2d8552dcc88e4df8a7c09ec95ff44c8cce9aa2.tar.xz lasso-4d2d8552dcc88e4df8a7c09ec95ff44c8cce9aa2.zip | |
fix a reference counting error when building response message
| -rw-r--r-- | lasso/id-wsf/discovery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lasso/id-wsf/discovery.c b/lasso/id-wsf/discovery.c index 2bf1f0e2..bf5a7553 100644 --- a/lasso/id-wsf/discovery.c +++ b/lasso/id-wsf/discovery.c @@ -917,6 +917,8 @@ lasso_discovery_build_response_msg(LassoDiscovery *discovery) /* build response */ response = lasso_disco_query_response_new( lasso_utility_status_new(LASSO_DST_STATUS_CODE_OK)); + /* Keep refcount coherency */ + g_list_foreach(offerings, (GFunc)g_object_ref, NULL); response->ResourceOffering = offerings; profile->response = LASSO_NODE(response); envelope = profile->soap_envelope_response; |
