Skip to content
Commit 74742e05 authored by Matt Hoosier's avatar Matt Hoosier Committed by Pekka Paalanen
Browse files

log: improve handling of use-before-init



Rather than segfaulting by attempting to traverse an initially
null log handler pointer, explicitly print a message and abort.

Signed-off-by: default avatarMatt Hoosier <matt.hoosier@gmail.com>
Reviewed-by: default avatarIan Ray <ian.ray@ge.com>
[Pekka: coding style fix]
Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 577b3464
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment