tests: update for new drm interface

This commit is contained in:
Dave Airlie 2007-11-15 16:51:15 +11:00
parent f0fe478c15
commit d275bb8fb8

View file

@ -288,12 +288,12 @@ int testFrameBufferAdd(int fd, drmModeResPtr res)
printf("\tRemoveing BO\n");
ret = drmBODestroy(fb, &bo);
ret = drmBOUnreference(fb, &bo);
return 0;
err_bo:
drmBODestroy(fd, &bo);
drmBOUnreference(fd, &bo);
err:
printf("\tFailed\n");