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

Re: [Libguestfs] [PATCH nbdkit 1/6] filters: Add a function to read full extents from a plugin.



On Wed, Feb 03, 2021 at 02:47:23PM -0600, Eric Blake wrote:
> On 1/26/21 3:51 PM, Richard W.M. Jones wrote:
> > + error0:
> > +  if (ret) nbdkit_extents_free (ret);
> 
> nbdkit_extents_free(NULL) is a no-op, do we need the 'if' here?

Oh indeed, I'll push a small follow-up fix, thanks.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


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