[Libvir] RFC: Add a short doc with libvirt coding style guidelines

Mark McLoughlin markmc at redhat.com
Mon Jan 14 08:40:35 UTC 2008

	There's a few more obvious things missing, I think - e.g. should new
code use lower_case_with_underscores naming style or mixedCase ?

On Sun, 2008-01-13 at 17:39 +0000, Daniel P. Berrange wrote:
>   2. Do not use conditionals in front of 'free'.
>      eg Instead of
>        if (foo) free(foo)
>      Use
>        free(foo)

	That's only safe with glibc, right ?


More information about the libvir-list mailing list