diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index f3b59942d..eae13bec9 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -2058,6 +2058,9 @@ const char *const *xine_get_log_names (xine_t *this) { static inline void check_log_alloc (xine_t *this, int buf) { + if ( this->log_buffers[buf] ) + return; + pthread_mutex_lock (&this->log_lock); if ( ! this->log_buffers[buf] ) |