mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 18:43:49 +01:00
Fix two memory leaks
This commit is contained in:
parent
83f55ff24a
commit
02582692f9
@ -420,6 +420,7 @@ plain_get_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t*
|
||||
|
||||
char* name = prepare_filename(file);
|
||||
if (g_key_file_has_group(priv->history, name) == FALSE) {
|
||||
g_free(name);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user