summaryrefslogtreecommitdiff
path: root/randr/rrprovider.c
diff options
context:
space:
mode:
Diffstat (limited to 'randr/rrprovider.c')
-rw-r--r--randr/rrprovider.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/rrprovider.c b/randr/rrprovider.c
index c4ed515d6..b321e6227 100644
--- a/randr/rrprovider.c
+++ b/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);