Fix building without logging enabled
This commit is contained in:
parent
26f4cae47c
commit
4879174164
@ -189,7 +189,9 @@ dc_context_free (dc_context_t *context)
|
||||
if (context == NULL)
|
||||
return DC_STATUS_SUCCESS;
|
||||
|
||||
#ifdef ENABLE_LOGGING
|
||||
dc_timer_free (context->timer);
|
||||
#endif
|
||||
free (context);
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user