mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 06:53:46 +01:00
Fix memory leak
This commit is contained in:
parent
7a15100dbc
commit
2e23d02572
@ -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 New Issue
Block a user