orccodemem: Fix for potential race in codemem alloc/free
authorSeungha Yang <seungha@centricular.com>
Fri, 26 May 2023 13:40:57 +0000 (22:40 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 29 May 2023 13:52:00 +0000 (13:52 +0000)
commite48fa544c39f01986d679bc04621d4ebe577d764
tree96210e04ccaa23b14e557b5f56dc6bcac7dcab1a
parentc8a806410b3c9678b6d7333c92cfea463143090a
orccodemem: Fix for potential race in codemem alloc/free

Protect the entire codemem alloc/free routine with global mutex

Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/99>
orc/orccodemem.c