mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 03:13:46 +01:00
Fix memory leak
This commit is contained in:
parent
f302627263
commit
644330de76
@ -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