diff --git a/src/storage/storage_backend_logical.c b/src/storage/storage_backend_logical.c index 51624a7ed0..50d0407dcd 100644 --- a/src/storage/storage_backend_logical.c +++ b/src/storage/storage_backend_logical.c @@ -236,6 +236,7 @@ virStorageBackendLogicalMakeVol(virStoragePoolObjPtr pool, if (virStrToLong_ull(offset_str, NULL, 10, &offset) < 0) { virStorageReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("malformed volume extent offset value")); + VIR_FREE(offset_str); goto cleanup; }