* Destroy the private log context */
| 48 | * Destroy the private log context |
| 49 | */ |
| 50 | SRD_PRIV void srd_log_uninit() |
| 51 | { |
| 52 | if (is_private_log && log_ctx){ |
| 53 | xlog_free(log_ctx); |
| 54 | log_ctx = 0; |
| 55 | xlog_free_writer(srd_log); |
| 56 | srd_log = 0; |
| 57 | is_private_log = 0; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Use a shared context, and drop the private log context |
no test coverage detected