mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 01:03:47 +01:00
return values from girara_settings_get have to be g_freed
This commit is contained in:
parent
dba33a04a1
commit
7c2d6718f0
@ -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 New Issue
Block a user