[Csync2] sqlite3 and _FILE_OFFSET_BITS=64 commited
Lars Ellenberg
lars.ellenberg at linbit.com
Fri Jun 20 17:08:03 CEST 2008
On Fri, Jun 20, 2008 at 04:35:36PM +0200, Art -kwaak- van Breemen wrote:
> On Thu, Jun 19, 2008 at 04:38:06PM +0200, Lars Ellenberg wrote:
> > this is now committed as revision 399.
> > please, anyone in the position to do so,
> > try it and report any observations.
>
> Well, I found a memory leak ;-)
> This is a generic one though, and the fix doesn't need an
> explanation I guess :-).
>
> http://217.196.41.9/~ard/csync2/00-csync2-svn399-memory-leak.diff
>
> --- trunk.399/daemon.c 2008-06-20 13:52:03.000000000 +0200
> +++ trunk.work/daemon.c 2008-06-20 15:55:09.000000000 +0200
> @@ -507,7 +507,7 @@
> break;
> case A_BYE:
> for (i=0; i<32; i++)
> - tag[i] = strdup(url_decode(tag[i]));
> + free(tag[i]);
> conn_printf("OK (cu_later).\n");
> return;
> }
> @@ -529,7 +529,7 @@
>
> next_cmd:
> for (i=0; i<32; i++)
> - tag[i] = strdup(url_decode(tag[i]));
> + free(tag[i]);
> }
> }
sweet :->
--
: Lars Ellenberg Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com :
More information about the Csync2
mailing list