forked from drath/libratbag
abc7ac1029053f573b1b29b02b2a1fc7b0e583ec
When accessing the buttons of a profile, we should not unref it until we are done (or there will be some illegal access to a free-ed pointer). The last profile_unref should be called against the active_profile, not the last profile. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
/*!@mainpage
libratbag
libratbag is a configuration library for gaming mice. It provides a generic way to access the various features exposed by these mice and abstracts away hardware-specific and kernel-specific quirks.
License
libratbag is licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: [...]
See the COPYING file for the full license information.
*/
Description
Languages
C
84.2%
Python
12.3%
Meson
1.5%
Shell
1.3%
Roff
0.5%
Other
0.2%