configure_mode_setting() keeps a ref on tmp_kmsmem which is released in gst_kms_sink_show_frame(). But if for some reason configure_mode_setting() is re-called before showing a frame or if none is showed this memory was leaked.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
configure_mode_setting() keeps a ref on tmp_kmsmem which is released in gst_kms_sink_show_frame(). But if for some reason configure_mode_setting() is re-called before showing a frame or if none is showed this memory was leaked.