Fix possible memory leak

This commit is contained in:
peter15914
2025-01-05 00:03:34 +05:00
parent 9b1194a5f3
commit e70d316afc
+1
View File
@@ -2344,6 +2344,7 @@ g_get_open_fds(int min, int max)
// Descriptor is open
if (!list_add_item(result, i))
{
g_free(fds);
goto nomem;
}
}