bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch


From: Karl Berry
Subject: Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch
Date: Wed, 10 Sep 2003 19:01:23 -0400

      #define XFREE(Var) ((Var) ? (free (Var), NULL) : NULL)

A macro seems better to me too.

If it's needed as a function address for some reason it could be in a
separate file (xfree.c).

I do like the functionality, small though it is, and use it in virtually
every program.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]