Done. Thanks! On Thu, Feb 7, 2013 at 11:39 PM, Vladislav Bogdanov <bub...@hoster-ok.com> wrote: > Hi, > > I use connection to CIB in a daemon application, and it seems like > following patch is required against cib_native_signon_raw() to not leak > memory on reconnects. > > --- a/lib/cib/cib_native.c 2013-02-07 06:26:43.000000000 +0000 > +++ b/lib/cib/cib_native.c 2013-02-07 12:33:32.501257239 +0000 > @@ -254,6 +254,7 @@ cib_native_signon_raw(cib_t * cib, const > } > } > > + free_xml(reply); > } else { > rc = -ECOMM; > } > --- > > Vladislav > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org