The following bytes were arranged on 22 Sep 2011 by [email protected]:

> +nsurl *nsurl_ref(nsurl *url)
>  {
> +       assert(url != NULL);
> +
> +       url->count++;

[snip]

> +void nsurl_unref(nsurl *url)
> +{
> +       if (--url->count > 0)
> +               return;
> +
>          assert(url != NULL);

Shouldn't both asserts come first?

-- 
  __<^>__   "Your pet, our passion." - Purina
 / _   _ \  "Your potential, our passion." - Microsoft, a few months later
( ( |_| ) )
 \_>   <_/  ======================= Martin Bazley ==========================

Reply via email to