libvirt/src/rpc
Daniel P. Berrange 927dfcf693 Fix leak of 'msg' object in client stream code
In one exit path we forgot to free the virNetMessage object causing
a large memory leak for streams which send a lot of data. Some other
paths were calling VIR_FREE directly instead of virNetMessageFree
although this was (currently) harmless.

* src/rpc/virnetclientstream.c: Fix leak of msg object
* src/rpc/virnetclientprogram.c: Call virNetMessageFree instead
  of VIR_FREE
2011-07-08 16:19:57 +01:00
..
gendispatch.pl Convert libvirtd over to the new RPC handling APIs 2011-06-28 17:33:19 +01:00
genprotocol.pl Move the RPC generator scripts into src/rpc 2011-06-24 11:48:49 +01:00
virnetclient.c build: use gnulib pthread_sigmask 2011-07-07 13:12:44 -06:00
virnetclient.h Introduce generic RPC client objects 2011-06-24 11:48:45 +01:00
virnetclientprogram.c Fix leak of 'msg' object in client stream code 2011-07-08 16:19:57 +01:00
virnetclientprogram.h Introduce generic RPC client objects 2011-06-24 11:48:45 +01:00
virnetclientstream.c Fix leak of 'msg' object in client stream code 2011-07-08 16:19:57 +01:00
virnetclientstream.h Introduce generic RPC client objects 2011-06-24 11:48:45 +01:00
virnetmessage.c Improve two log messages in virNetMessage 2011-06-29 11:08:59 +01:00
virnetmessage.h Ensure empty payload is written upon stream completion 2011-06-29 11:08:59 +01:00
virnetprotocol.x Defines the basics of a generic RPC protocol in XDR 2011-06-24 11:48:10 +01:00
virnetsaslcontext.c Generic module for handling SASL authentication & encryption 2011-06-24 11:48:25 +01:00
virnetsaslcontext.h Generic module for handling SASL authentication & encryption 2011-06-24 11:48:25 +01:00
virnetserver.c build: remove dead variables 2011-07-01 06:48:33 -06:00
virnetserver.h Introduce generic RPC module for advertising via MDNS 2011-06-24 11:48:41 +01:00
virnetserverclient.c rpc: fix logic bug 2011-07-04 09:45:21 +08:00
virnetserverclient.h Fix hardcoded limit on client requests in RPC code 2011-06-30 18:04:01 +01:00
virnetservermdns.c Introduce generic RPC module for advertising via MDNS 2011-06-24 11:48:41 +01:00
virnetservermdns.h Introduce generic RPC module for advertising via MDNS 2011-06-24 11:48:41 +01:00
virnetserverprogram.c Send back an error if we get unexpected stream control message 2011-06-30 18:04:02 +01:00
virnetserverprogram.h Introduce generic RPC server objects 2011-06-24 11:48:37 +01:00
virnetserverservice.c rpc: avoid memory leak on error 2011-07-04 10:22:50 +08:00
virnetserverservice.h Fix hardcoded limit on client requests in RPC code 2011-06-30 18:04:01 +01:00
virnetsocket.c rpc: avoid freeing uninitialized variable 2011-06-30 11:36:52 -06:00
virnetsocket.h Introduce generic RPC module for advertising via MDNS 2011-06-24 11:48:41 +01:00
virnettlscontext.c Fix mistaken order of server cert/key parameters in constructor 2011-07-08 16:19:57 +01:00
virnettlscontext.h Generic module for handling TLS encryption and x509 certs 2011-06-24 11:48:22 +01:00