]> xenbits.xensource.com Git - libvirt.git/commit
nssmock: Prefer free() over VIR_FREE()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 29 Nov 2016 13:59:25 +0000 (14:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Dec 2016 12:33:18 +0000 (13:33 +0100)
commit1ef3ac82a3d31aca85529c42db36b94a7c0ca418
treeaf38a7ecf972943c5b00a4cdb3b0930be1370a00
parent03e3da2212a48fb97f22628aacfe1625977eb9af
nssmock: Prefer free() over VIR_FREE()

Problem with VIR_FREE() is that we are not linking
libvirt-utils.so to our mock libs therefore there will be an
unresolved symbol. Fortunately, nsstest that eventually links
with the nssmock links also with libvirt-utils.so and thus the
symbol is resolved after all. However, if one wants to run the
test binary under valgrind it is impossible to do so. Because of
the unresolved symbol.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
cfg.mk
tests/nssmock.c