There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
It depends on how you use the query. If you use it as normal way in gstreamer GstQuery, you don’t need to care about the release, gstreamer core will handle it. If you just create it for a test, you needto unref it for release.