sim-qmi: fix leak of the GArray containing the GID

Fixes 3238ccdbb2
This commit is contained in:
Aleksander Morgado
2022-08-25 15:53:08 +00:00
parent b9173176c2
commit 14d9b2d5d7

View File

@@ -572,7 +572,7 @@ uim_get_gid_ready (QmiClientUim *client,
GTask *task)
{
GError *error = NULL;
GArray *read_result;
g_autoptr(GArray) read_result = NULL;
read_result = uim_read_finish (client, res, &error);
if (!read_result)