fix cc_open

This commit is contained in:
Sebastian Ramacher 2012-02-09 00:46:22 +01:00
parent cba92029fa
commit a5db68c706

View file

@ -50,7 +50,7 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
if ((current_file_length > e_length) || strncmp(current_file, e_name, if ((current_file_length > e_length) || strncmp(current_file, e_name,
current_file_length)) { current_file_length)) {
g_free(e_name); g_free(e_name);
goto error_free; continue;
} }
char* full_path = g_strdup_printf("%s%s%s", current_path, is_dir ? "" : "/", e_name); char* full_path = g_strdup_printf("%s%s%s", current_path, is_dir ? "" : "/", e_name);