diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c index c736496ef37eb4760ba6a906dc11cb547d0ca1f3..5e3da14963e87fa840e1a1418e6cabb17ed42227 100644 --- a/src/storage/storage_backend_fs.c +++ b/src/storage/storage_backend_fs.c @@ -218,10 +218,8 @@ virStorageBackendFileSystemNetFindPoolSourcesFunc(virStoragePoolObjPtr pool ATTR } src->format = VIR_STORAGE_POOL_NETFS_NFS; - src = NULL; ret = 0; cleanup: - virStoragePoolSourceFree(src); return ret; }