On Sun, Oct 11, 2009 at 3:42 PM, Xavier Chantry <[email protected]> wrote:
> +
> +       left = alpm_list_copy(lhs);
> +       left = alpm_list_msort(left, alpm_list_count(left), fn);
> +       right = alpm_list_copy(rhs);
> +       right = alpm_list_msort(right, alpm_list_count(right), fn);
> +
> +       alpm_list_diff_sorted(left, right, fn, &ret, NULL);
>
>        return(ret);
>  }

Oops, I forgot to free left and right here. Thanks Dan :)
Fixed on my working branch.

Reply via email to