Fix memory leak

This commit is contained in:
Moritz Lipp 2011-07-12 20:03:18 +02:00
parent f302627263
commit 644330de76

View File

@ -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;
}