!8 [bugfix] block: fix memleaks in bdrv_refresh_filename
Merge pull request !8 from panny060/master
This commit is contained in:
commit
bf8b118e4d
@ -47,7 +47,7 @@ index 9ae5c0e..52bad05 100644
|
||||
child->bs->exact_filename);
|
||||
pstrcpy(bs->filename, sizeof(bs->filename), child->bs->filename);
|
||||
|
||||
+ qobject_unref(child->bs->full_open_options);
|
||||
+ qobject_unref(bs->full_open_options);
|
||||
bs->full_open_options = qobject_ref(child->bs->full_open_options);
|
||||
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user