Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dbus] Fix free() vs g_free() issues
The get_hidden_modes() returns data allocated via g_key_file_get_string() which should be released with g_free() and fallback uses strdup() which should use free(). Use g_strdup() in the fallback case and release memory with g_free(). Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information