summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/getversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/getversion.c b/tests/getversion.c
index 53d1d354..bcec4699 100644
--- a/tests/getversion.c
+++ b/tests/getversion.c
@@ -43,7 +43,7 @@ int main(int argc, char **argv)
assert(strlen(v->desc) != 0);
if (strcmp(v->name, "i915") == 0)
assert(v->version_major >= 1);
- drmFree(v);
+ drmFreeVersion(v);
close(fd);
return 0;
}