It was possible to call VIR_FREE in error prior to initialization --- src/rpc/virnetserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c index cbbc986..95333d0 100644 --- a/src/rpc/virnetserver.c +++ b/src/rpc/virnetserver.c @@ -926,7 +926,7 @@ int virNetServerAddSignalHandler(virNetServerPtr srv, virNetServerSignalFunc func, void *opaque) { - virNetServerSignalPtr sigdata; + virNetServerSignalPtr sigdata = NULL; struct sigaction sig_action; virObjectLock(srv); -- 1.7.11.7 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list