mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
core: free modifiers if allocated
This commit is contained in:
parent
ff87a16b2b
commit
ec31e99056
1 changed files with 3 additions and 0 deletions
|
@ -1078,6 +1078,9 @@ uint32_t CPipewireConnection::buildFormatsFor(spa_pod_builder* b[2], const spa_p
|
||||||
stream->pSession->sharingData.frameInfoSHM.h, stream->pSession->sharingData.framerate, NULL, 0);
|
stream->pSession->sharingData.frameInfoSHM.h, stream->pSession->sharingData.framerate, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (modifiers)
|
||||||
|
free(modifiers);
|
||||||
|
|
||||||
return paramCount;
|
return paramCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue