diff --git a/src/ui-socket.c b/src/ui-socket.c index ef72430..59e54d1 100644 --- a/src/ui-socket.c +++ b/src/ui-socket.c @@ -225,7 +225,6 @@ int interactive_access(const char *filename, struct process_info proc_info, // the user might specify a different file in the dialogue, so we need to // check if it is valid - /* while (source_access(response.filename, F_OK)) { // if it is invalid, just ask again. fprintf(stderr, "Filename returned by zenty wasn't correct: %s\n", @@ -233,7 +232,7 @@ int interactive_access(const char *filename, struct process_info proc_info, free(response.filename); response = ask_access(filename, proc_info); } - */ + free(real_path); real_path = real_filename(response.filename);