Sudip, On Tue, Jan 13, 2015 at 12:19 PM, Sudip Mukherjee <[email protected]> wrote: > we have already allocated memory for nbd_dev, but we were not > releasing that memory and just returning the error value. > > Signed-off-by: Sudip Mukherjee <[email protected]> > --- > > Hi Paul, > after seeing your mail about maintainers, just started to see the code. > this patch is one way, another way can be to bring the kcalloc part below > these checks.
Probably better to move the kcalloc below, rather than adding more branches, wouldn't you agree? Thanks, Paul ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
