Fix leaks from g_list_model_get_item
Review Request #2377 — Created March 22, 2023 and submitted — Latest diff uploaded
It returns a new reference, which needs to be unref'd.
Compiled only, and ran tests, though these issues didn't show up in valgrind anyway.