mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:46:01 +01:00
Fix memory leak
This commit is contained in:
parent
f302627263
commit
644330de76
1 changed files with 2 additions and 0 deletions
|
@ -3903,6 +3903,7 @@ cc_open(char* input)
|
|||
gtk_entry_set_text(Zathura.UI.inputbar, file);
|
||||
gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1);
|
||||
g_free(file);
|
||||
completion_free(completion);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -3960,6 +3961,7 @@ cc_open(char* input)
|
|||
{
|
||||
g_free(path);
|
||||
g_free(file);
|
||||
completion_free(completion);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue