~ubuntu-branches/ubuntu/precise/corosync/precise-proposed

« back to all changes in this revision

Viewing changes to lib/cpg.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Loschwitz
  • Date: 2011-10-19 14:32:18 UTC
  • mfrom: (1.1.6 upstream) (5.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20111019143218-ew8phl0raqyog844
Tags: 1.4.2-1
* Changed my email address in debian/control
* Add corosync-blackbox to the corosync package
* Imported Upstream version 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
                &iov,
240
240
                1,
241
241
                &res_lib_cpg_finalize,
242
 
                sizeof (struct req_lib_cpg_finalize));
243
 
 
244
 
        if (error != CS_OK) {
245
 
                goto error_put;
246
 
        }
 
242
                sizeof (struct res_lib_cpg_finalize));
247
243
 
248
244
        coroipcc_service_disconnect (cpg_inst->handle);
249
245
 
250
246
        cpg_inst_finalize (cpg_inst, handle);
251
247
        hdb_handle_put (&cpg_handle_t_db, handle);
252
248
 
253
 
        return (CPG_OK);
254
 
 
255
 
error_put:
256
 
        hdb_handle_put (&cpg_iteration_handle_t_db, handle);
257
 
        cpg_inst->finalize = 0;
258
249
        return (error);
259
250
}
260
251