gstreamer/subprojects/gst-libav/ext
Edward Hervey 47833c8b36 avcfg: Don't leak the support GArray when registering flag/enums
* Only create it if we are attempting to put values in it
* If we sucessfully registered the values, only free the GArray
* IF we didn't, also free the backing memory

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
2022-11-13 06:59:11 +01:00
..
libav avcfg: Don't leak the support GArray when registering flag/enums 2022-11-13 06:59:11 +01:00