Subject: Re: [PATCH 1/2] Introduce leaky().

From: Jakub Narebski <[email-masked]>
Date: Tue, 24 Jun 2008 14:28:30 -0700 (PDT)

Pierre Habouzit <[email-masked]> writes:

> diff --git a/Makefile b/Makefile

> +#
> +# Define COLLECT_LEAKS_AT_EXIT if you want memory marked as leaky() at exit.

I think s/at exit/to be freed &/;

> diff --git a/cache.h b/cache.h

Hmmm... cache?

>  /* alloc.c */
> +#ifdef COLLECT_LEAKS_AT_EXIT
> +extern void *leaky(void *);
> +#else
> +# define leaky(x) x
> +#endif

Not 

+# define leaky(x) (x)

to be careful?
-- 
Jakub Narebski
Poland
ShadeHawk on #git