aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/randr/rrprovider.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/randr/rrprovider.c')
-rw-r--r--xorg-server/randr/rrprovider.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/randr/rrprovider.c b/xorg-server/randr/rrprovider.c
index 14d2d3db3..3f3c008c5 100644
--- a/xorg-server/randr/rrprovider.c
+++ b/xorg-server/randr/rrprovider.c
@@ -389,6 +389,8 @@ RRProviderDestroyResource (pointer value, XID pid)
{
rrScrPriv(pScreen);
+ if (pScrPriv->rrProviderDestroy)
+ (*pScrPriv->rrProviderDestroy)(pScreen, provider);
pScrPriv->provider = NULL;
}
free(provider);