mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Linux: Fix regfree being called on invalid data
This was caused by a careless merge that did not take the differences
between the branches into account.
Regression introduced by 7c7cc59889
.
Fixes #2464
This commit is contained in:
parent
9ba47ca13a
commit
7998629ad2
@ -202,6 +202,7 @@ video tutorials.
|
||||
- Aleksey Rybalkin
|
||||
- Mikko Rytkönen
|
||||
- Riku Salminen
|
||||
- Anton Samokhvalov
|
||||
- Brandon Schaefer
|
||||
- Sebastian Schuberth
|
||||
- Christian Sdunek
|
||||
|
@ -123,7 +123,7 @@ information on what to include when reporting a bug.
|
||||
|
||||
## Changelog
|
||||
|
||||
There is nothing here yet.
|
||||
- [Linux] Bugfix: `regfree´ was called on invalid data (#2464)
|
||||
|
||||
|
||||
## Contact
|
||||
|
@ -334,8 +334,6 @@ void _glfwTerminateJoysticksLinux(void)
|
||||
closeJoystick(js);
|
||||
}
|
||||
|
||||
regfree(&_glfw.linjs.regex);
|
||||
|
||||
if (_glfw.linjs.inotify > 0)
|
||||
{
|
||||
if (_glfw.linjs.watch > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user