lkml.org 
[lkml]   [2010]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [alsa-devel] [PATCH 2/4] sound/soc/fsl/p1022_ds.c: Add of_node_put to avoid memory leak
    On Tue, Aug 31, 2010 at 10:48 AM, Julia Lawall <julia@diku.dk> wrote:
    > Add a call to of_node_put in the error handling code following a call to
    > of_parse_phandle.
    >
    > This patch also moves the existing call to of_node_put tothe end of the
    > error handling code, to make it possible to jump to of_node_put without
    > doing the other cleanup operations.  These appear to be disjoint
    > operations, so the ordering doesn't matter.

    Acked-by: Timur Tabi <timur@freescale.com>

    Thanks, Julia.

    --
    Timur Tabi
    Linux kernel developer at Freescale
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-09-01 20:41    [W:0.044 / U:0.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site