1
0
Fork 0

Fix a memory leak

This commit is contained in:
Torsten Dreyer 2022-02-11 08:50:13 +01:00
parent f8afde7528
commit 0e0acc9a10

View file

@ -503,6 +503,7 @@ void FGLinuxEventInput::postinit()
udev_device_unref(dev);
}
udev_enumerate_unref(enumerate); // REVIEW: this should fix the memory leak
udev_unref(udev);
}