lkml.org 
[lkml]   [2003]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: xircom init_etherdev conversion.
    Dave Jones wrote:
    > On Sat, Mar 29, 2003 at 12:02:57AM -0500, Jeff Garzik wrote:
    > > davej@codemonkey.org.uk wrote:
    > > >- Also cleans up some exit paths.
    > >
    > > ...and now xircom_remove is kfree'ing memory that was never kmalloc'd
    >
    > Which one ? I don't see it..

    "kfree(card)" here:

    card=dev->priv;
    ...
    kfree(card);
    }
    release_region(dev->base_addr, 128);
    unregister_netdev(dev);
    kfree(dev);
    leave("xircom_remove");

    -
    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: 2005-03-22 13:34    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site