diff options
Diffstat (limited to 'src/plugins/logger/logger-buffer.c')
-rw-r--r-- | src/plugins/logger/logger-buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/logger/logger-buffer.c b/src/plugins/logger/logger-buffer.c index e582d1dd3..3de6b1ac2 100644 --- a/src/plugins/logger/logger-buffer.c +++ b/src/plugins/logger/logger-buffer.c @@ -168,6 +168,9 @@ logger_buffer_free (struct t_logger_buffer *logger_buffer) struct t_logger_buffer *new_logger_buffers; struct t_gui_buffer *ptr_buffer; + if (!logger_buffer) + return; + ptr_buffer = logger_buffer->buffer; /* remove logger buffer */ |