Skip to content
  • Uwe Hermann's avatar
    Use g_malloc0() consistently, simplify error handling. · 91219afc
    Uwe Hermann authored
    Use g_malloc0() for small allocations and assume they always
    succeed. Simplify error handling in a few places accordingly.
    
    Don't always sanity-check parameters for non-public (SR_PRIV)
    functions, we require the developers to invoke them correctly.
    This allows further error handling simplifications.
    91219afc