]> xenbits.xensource.com Git - libvirt.git/commit
virlog: Introduce virLogFilterListFree
authorErik Skultety <eskultet@redhat.com>
Tue, 29 Mar 2016 20:07:23 +0000 (22:07 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 4 Jul 2016 14:44:58 +0000 (16:44 +0200)
commit660468b1a32d8f669c4718358bff4d7aa5082d0e
tree91474b56c0779287ad546a929498dc278652b557
parent18c3321b8bad704d4e8b8dea200c8cb6fbc70092
virlog: Introduce virLogFilterListFree

This is just a convenience method for discarding a list of filters instead of
using a 'for' loop everywhere. It is safe to pass -1 as the number of elements
in the list as well as passing NULL as list reference.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/util/virlog.c
src/util/virlog.h