libvirt/src/util
Matthias Bolte 9d50b323a9 Fix memory leak in __virExec
Commit e0d014f237 made binary potentially allocated on the heap.
It was freed in the parent in the error path, but not in the success path
that doesn't goto the cleanup label.

Found by 'make -C tests valgrind'.
2011-04-30 17:37:29 +02:00
..
authhelper.c esx: Move username and password helper functions to authhelper.c 2010-03-16 20:15:32 +01:00
authhelper.h esx: Move username and password helper functions to authhelper.c 2010-03-16 20:15:32 +01:00
bitmap.c util: Add API for converting virBitmap into printable string 2011-02-24 12:03:04 +01:00
bitmap.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
bridge.c Allow brAddTap to create a tap device that is down 2011-02-17 13:36:22 -05:00
bridge.h Allow brAddTap to create a tap device that is down 2011-02-17 13:36:22 -05:00
buf.c free buf->content when vsnprintf() failed 2011-04-27 20:12:13 +08:00
buf.h xend: Escape reserved sexpr characters 2010-11-22 16:43:29 -05:00
cgroup.c Don't return an error on failure to create blkio controller 2011-03-18 16:59:03 -06:00
cgroup.h virsh: fix memtune's help message for swap_hard_limit 2011-03-17 16:45:06 -06:00
command.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
command.h command: add virCommandAbort for cleanup paths 2011-03-25 05:34:48 -06:00
conf.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
conf.h esx: Allow '-' in VMX entry names 2010-09-23 10:37:10 +02:00
dnsmasq.c network: fix return value of hostsFileWrite 2011-04-28 10:44:57 -04:00
dnsmasq.h Convert virNetwork to use virSocketAddr everywhere 2010-10-22 12:07:02 +01:00
ebtables.c ebtables: Remove PATH_MAX sized stack allocation 2011-04-05 08:55:27 +02:00
ebtables.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
event_poll.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
event_poll.h Move event code out of the daemon/ into src/util/ 2011-03-07 14:16:13 +00:00
event.c docs: silence warnings about generated API docs 2011-03-09 08:07:09 -07:00
event.h Fix documentation for virEventAddTimeout() 2010-10-26 10:23:03 +02:00
files.c deprecate fclose() and introduce VIR_{FORCE_}FCLOSE() 2010-11-16 21:13:29 -05:00
files.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
hash.c hash: fix memory leak regression 2011-04-29 14:26:40 -06:00
hash.h tests: More unit tests for internal hash APIs 2011-04-27 15:32:30 +02:00
hooks.c util: Initialize hooks at daemon shutdown if no hooks defined 2011-04-28 14:48:26 +08:00
hooks.h qemu: add two hook script events "prepare" and "release" 2011-03-22 21:12:36 +08:00
hostusb.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
hostusb.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
interface.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
interface.h add 802.1Qbh and 802.1Qbg handling 2010-06-02 21:35:22 -04:00
iohelper.c Enhance the streams helper to support plain file I/O 2011-03-29 12:17:28 +01:00
iptables.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
iptables.h Update iptables.c to also support ip6tables. 2010-12-23 15:54:32 -05:00
json.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
json.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
logging.c Fix gcc 4.6 warnings 2011-04-14 19:09:12 +02:00
logging.h Allow to dynamically set the size of the debug buffer 2011-03-15 15:13:21 +08:00
macvtap.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
macvtap.h Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
memory.c build: fix cygwin strerror_r failure 2011-02-11 12:32:17 -07:00
memory.h build: make VIR_FREE do some type checking 2011-04-25 10:20:18 -06:00
network.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
network.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
pci.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
pci.h pciResetDevice: use inactive devices to determine safe reset 2010-07-26 18:43:04 +02:00
processinfo.c build: update gnulib 2010-05-06 14:35:38 -06:00
processinfo.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qparams.c qparams.c: do not skip va_end, twice 2010-02-19 11:52:04 +01:00
qparams.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
sexpr.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
sexpr.h Use virBufferPtr for sexpr2string instead of manual buffer handling 2011-04-05 09:14:59 +02:00
stats_linux.c Update and sort msg_gen_function list and mark unmarked messages 2011-04-18 19:05:15 +02:00
stats_linux.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_file.c fixes for several memory leaks 2011-03-04 09:52:12 -07:00
storage_file.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
sysinfo.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
sysinfo.h sysinfo: refactor xml formatting 2011-02-08 19:37:21 -07:00
threadpool.c Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
threadpool.h threadpool: allow NULL jobdata 2011-01-03 14:45:00 -07:00
threads-pthread.c threads: add one-time initialization support 2011-04-25 08:53:09 -06:00
threads-pthread.h threads: add one-time initialization support 2011-04-25 08:53:09 -06:00
threads-win32.c threads: add one-time initialization support 2011-04-25 08:53:09 -06:00
threads-win32.h threads: add one-time initialization support 2011-04-25 08:53:09 -06:00
threads.c build: avoid pthreads-win32 on mingw 2010-06-10 06:05:31 -06:00
threads.h threads: add one-time initialization support 2011-04-25 08:53:09 -06:00
util.c Fix memory leak in __virExec 2011-04-30 17:37:29 +02:00
util.h Remove PATH_MAX sized stack allocations related to virFileBuildPath 2011-04-05 08:55:27 +02:00
uuid.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
uuid.h Expose a host UUID in the capabilities XML 2010-05-25 17:09:18 +01:00
virtaudit.c util: add virVasprintf 2010-12-02 11:23:15 -07:00
virtaudit.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
virterror_internal.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
virterror.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
xml.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
xml.h util: add missing string->integer conversion functions 2011-01-13 15:10:40 -07:00