1
0
forked from drath/libratbag
Files
libratbag-plus/tools
Benjamin Tissoires abc7ac1029 tools: fix 2 valgrind complains
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>
2015-08-19 11:31:58 -04:00
..