mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:16:00 +01:00
return values from girara_settings_get have to be g_freed
This commit is contained in:
parent
dba33a04a1
commit
7c2d6718f0
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument),
|
|||
float* tmp = girara_setting_get(session, "highlight-transparency");
|
||||
if (tmp != NULL) {
|
||||
transparency = *tmp;
|
||||
free(tmp);
|
||||
g_free(tmp);
|
||||
}
|
||||
|
||||
unsigned int link_id = 0;
|
||||
|
@ -158,7 +158,7 @@ sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument),
|
|||
}
|
||||
|
||||
if (font != NULL) {
|
||||
free(font);
|
||||
g_free(font);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue