update block-fix-memleaks-in-bdrv_refresh_filename.patch.

This commit is contained in:
panny060 2020-02-05 11:05:27 +08:00 committed by Gitee
parent 64c96f82b9
commit ab90d4b6f1

View File

@ -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;