[libvirt] [PATCH] lxcFreezeContainer: avoid test-after-deref of never-NULL pointer
Eric Blake
eblake at redhat.com
Mon May 17 17:57:45 UTC 2010
On 05/17/2010 11:53 AM, Jim Meyering wrote:
>> Very good idea.
>> Here's a patch to do that.
>> With this, "make sc_avoid_if_before_free" (part of make syntax-check)
>> will now prevent any new useless checks.
>> The above was the sole offender.
>
> Actually, this is just the tip of the iceberg.
> A couple minutes work have shown that there are many more:
>
> Running this shows there are potentially at least 100
> candidate functions:
>
> aid free|grep '^vi'
aid? Cool alias/shell script on just your machine?
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100517/0e61ce11/attachment-0001.sig>
More information about the libvir-list
mailing list