summaryrefslogtreecommitdiff
path: root/src/core/core-signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core-signal.c')
-rw-r--r--src/core/core-signal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core-signal.c b/src/core/core-signal.c
index dbc48d926..991806faa 100644
--- a/src/core/core-signal.c
+++ b/src/core/core-signal.c
@@ -225,8 +225,7 @@ signal_exec_command (int signal_index, const char *command)
log_printf ("Signal %s received, executing command: \"%s\"",
(signal_upper) ? signal_upper : str_signal,
command_eval);
- if (signal_upper)
- free (signal_upper);
+ free (signal_upper);
(void) input_data (gui_buffer_search_main (),
command_eval, NULL, 0, 0);
free (command_eval);