summaryrefslogtreecommitdiff
path: root/tests/modedemo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modedemo')
-rw-r--r--tests/modedemo/demo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modedemo/demo.c b/tests/modedemo/demo.c
index 1efeb272..b399aec1 100644
--- a/tests/modedemo/demo.c
+++ b/tests/modedemo/demo.c
@@ -244,4 +244,5 @@ void prettyCursor(int fd, unsigned int handle)
ptr[i] = 0xFFFF00FF;
drmBOUnmap(fd, &bo);
+ drmBOUnreference(fd, &bo);
}