Re: [PATCH] swim: Release memory region after incorrect return/goto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 4, 2013 at 8:34 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
The code uses

        return foo;
        goto err_type;

when instead the form should have been

        ret = foo;
        goto err_type;

Here this causes a useful release_mem_region to be skipped.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Reviewed-by: Laurent Vivier <Laurent@xxxxxxxxx>
---

Hey Geert.

Just in case you don't see this on lkml.
I presume this has to go through you.

Thanks, will apply and queue for 3.11.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux