virtual-device-storage: Don't listed prints

This commit is contained in:
Marco Trevisan (Treviño) 2021-01-27 15:17:34 +01:00
parent 8d21a9c27c
commit ec4c7ca5a9

View file

@ -136,7 +136,7 @@ dev_list (FpDevice *dev)
return;
}
prints_list = g_ptr_array_new_full (g_hash_table_size (vdev->prints_storage), NULL);
prints_list = g_ptr_array_new_full (g_hash_table_size (vdev->prints_storage), g_object_unref);
data.dev = dev;
data.res = prints_list;