Re: [PATCH 1/2] Introduce leaky().
- Date: Tue, 24 Jun 2008 14:28:30 -0700 (PDT)
- From: Jakub Narebski <jnareb@xxxxxxxxx>
- Subject: Re: [PATCH 1/2] Introduce leaky().
Pierre Habouzit <madcoder@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html