Gamepad / Mouse / Keyboard (FreeBSD): fix memleaks

This commit is contained in:
李通洲
2025-03-27 10:59:29 +08:00
parent e73647973d
commit 3fb773eedd
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -53,6 +53,7 @@ const char* ffDetectGamepad(FFlist* devices /* List of FFGamepadDevice */)
device->battery = 0;
}
}
hid_end_parse(hData);
}
hid_dispose_report_desc(repDesc);