[libvirt] [ruby-libvirt] Don't free more entries than we retrieved

Chris Lalancette clalancette at gmail.com
Tue Jan 7 21:31:23 UTC 2014


On Tue, Jan 7, 2014 at 4:04 PM, Guido Günther <agx at sigxcpu.org> wrote:
> The check for < 0 might be superfluos but freeing num entries instead of
> only r ones looks wrong to me since r is the number of allocated names,
> not num. I'm happy to send a patch dropping the < 0 part.

Oh, bah humbug.  Yeah, you are definitely right about that.

Please do send a patch with just the num -> r bit.  That is definitely a bug.

Thanks,
Chris




More information about the libvir-list mailing list