Re: Comments on 95362 (tree dnd) patch
- From: Matthias Clasen <maclas gmx de>
- To: gtk-devel-list gnome org
- Subject: Re: Comments on 95362 (tree dnd) patch
- Date: 05 Sep 2003 22:14:39 +0200
Am Fre, 2003-09-05 um 21.48 schrieb Owen Taylor:
> Two tiny comments from browsing the path.
>
> ===
> +static void
> +dest_row_free (gpointer data)
> +{
> + DestRow *dr = (DestRow *)data;
> +
> + if (!dr)
> + return;
> ==
>
> This isn't right - free functions never get NULL passed to them.
>
Really ? The fact that g_free() silently accepts NULL is documented and
widely used behaviour.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]