Skip to content
  • Sébastien Wilmet's avatar
    Use g_clear_error() · 45fb1ce4
    Sébastien Wilmet authored
    Even if nullifying the error variable is not needed, it is better to do
    so because if the code is modified in the future and the GError is
    re-used later in the function, there is a risk that the contributor
    doesn't nullify the GError, and when looking at the patch, everything
    could look fine.
    45fb1ce4