aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-07-28 15:35:50 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2020-07-28 15:35:50 +0200
commitf4a1692491b5cce8978cea19cb8946bc2c6f14bc (patch)
tree1865126859b5b9d613c49113a5aaafc78f79b99b /lib/test_objagg.c
parentdrm: hold gem reference until object is no longer accessed (diff)
parentMerge branch 'linux-5.8' of git://github.com/skeggsb/linux into drm-fixes (diff)
downloadwireguard-linux-f4a1692491b5cce8978cea19cb8946bc2c6f14bc.tar.xz
wireguard-linux-f4a1692491b5cce8978cea19cb8946bc2c6f14bc.zip
Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes
Updating drm-misc-fixes to v5.8-rc7.
Diffstat (limited to 'lib/test_objagg.c')
-rw-r--r--lib/test_objagg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_objagg.c b/lib/test_objagg.c
index 72c1abfa154d..da137939a410 100644
--- a/lib/test_objagg.c
+++ b/lib/test_objagg.c
@@ -979,10 +979,10 @@ err_check_expect_stats2:
err_world2_obj_get:
for (i--; i >= 0; i--)
world_obj_put(&world2, objagg, hints_case->key_ids[i]);
- objagg_hints_put(hints);
- objagg_destroy(objagg2);
i = hints_case->key_ids_count;
+ objagg_destroy(objagg2);
err_check_expect_hints_stats:
+ objagg_hints_put(hints);
err_hints_get:
err_check_expect_stats:
err_world_obj_get: