libvirt/src/storage
Eric Blake 9892f7bca0 storage: avoid memory leak
Coverity detected that options was being set by strdup but never
freed.  But why even bother with an options variable?  The options
parameter never changes!  Leak present since commit 44948f5b (0.7.0).

This function could probably be rewritten to take better advantage
of virCommand, but that is more invasive.

* src/storage/storage_backend_fs.c
(virStorageBackendFileSystemMount): Avoid wasted strdup, and
guarantee proper cleanup on all paths.
2011-06-03 08:11:42 -06:00
..
parthelper.c storage: Allow to delete device mapper disk partition 2011-02-17 15:29:07 +08:00
storage_backend_disk.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
storage_backend_disk.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_fs.c storage: avoid memory leak 2011-06-03 08:11:42 -06:00
storage_backend_fs.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_iscsi.c storage_backend: Fix error reporting with regex helper 2011-05-17 10:16:38 -04:00
storage_backend_iscsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_logical.c storage_backend: Fix error reporting with regex helper 2011-05-17 10:16:38 -04:00
storage_backend_logical.h Fix two out-of-date comments in LVM backend 2011-04-17 08:37:31 +02:00
storage_backend_mpath.c storage: make debug log more useful 2011-02-22 10:10:31 +08:00
storage_backend_mpath.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_scsi.c Improve SCSI volume key generation 2011-04-05 16:04:22 +01:00
storage_backend_scsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend.c storage: List directory volumes for dir/fs/netfs pools 2011-05-31 12:47:58 -04:00
storage_backend.h storage: List directory volumes for dir/fs/netfs pools 2011-05-31 12:47:58 -04:00
storage_driver.c Add many version number annotations to drivers 2011-05-16 14:20:48 +01:00
storage_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00