Merge pull request #96 from micrakow/volume_move_fix

Added original uuid deinitialization without freeing
This commit is contained in:
Michał Wysoczański 2019-04-02 11:31:46 +02:00 committed by GitHub
commit 0192f4070d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,6 +143,7 @@ void ocf_volume_move(ocf_volume_t volume, ocf_volume_t from)
*/
from->opened = false;
from->priv = NULL;
from->uuid.data = NULL;
}
int ocf_volume_create(ocf_volume_t *volume, ocf_volume_type_t type,