diff for duplicates of <4A7435DD.8070801@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 06f43ca..c5c0840 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,13 +18,13 @@ Julia Lawall wrote: > > x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...); > ... -> if (x = NULL) S +> if (x == NULL) S > <... when != x > when != if (...) { <+...x...+> } > ( > x->f1 = E > | -> (x->f1 = NULL || ...) +> (x->f1 == NULL || ...) > | > f(...,x->f1,...) > ) @@ -56,7 +56,8 @@ Acked-by: Erik Andrén <erik.andren@gmail.com> > +++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.c > @@ -178,8 +178,10 @@ sensor_found: > -> sens_priv->settings > kmalloc(sizeof(s32)*ARRAY_SIZE(s5k83a_ctrls), GFP_KERNEL); +> sens_priv->settings = +> kmalloc(sizeof(s32)*ARRAY_SIZE(s5k83a_ctrls), GFP_KERNEL); > - if (!sens_priv->settings) > + if (!sens_priv->settings) { > + kfree(sens_priv); @@ -76,8 +77,4 @@ Erik > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -> --- -To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html +> diff --git a/a/content_digest b/N1/content_digest index 1d8a0c7..b009e22 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0Pine.LNX.4.64.0908011053140.23408@ask.diku.dk\0" "From\0Erik Andr\303\251n <erik.andren@gmail.com>\0" "Subject\0Re: [PATCH 3/10] drivers/media/video/gspca: introduce missing kfree\0" - "Date\0Sat, 01 Aug 2009 12:32:29 +0000\0" + "Date\0Sat, 01 Aug 2009 14:32:29 +0200\0" "To\0Julia Lawall <julia@diku.dk>\0" "Cc\0frank@zago.net" linux-media@vger.kernel.org @@ -29,13 +29,13 @@ "> \n" "> x@p1 = \\(kmalloc\\|kzalloc\\|kcalloc\\)(...);\n" "> ...\n" - "> if (x = NULL) S\n" + "> if (x == NULL) S\n" "> <... when != x\n" "> when != if (...) { <+...x...+> }\n" "> (\n" "> x->f1 = E\n" "> |\n" - "> (x->f1 = NULL || ...)\n" + "> (x->f1 == NULL || ...)\n" "> |\n" "> f(...,x->f1,...)\n" "> )\n" @@ -67,7 +67,8 @@ "> +++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.c\n" "> @@ -178,8 +178,10 @@ sensor_found:\n" "> \n" - "> \tsens_priv->settings > \tkmalloc(sizeof(s32)*ARRAY_SIZE(s5k83a_ctrls), GFP_KERNEL);\n" + "> \tsens_priv->settings =\n" + "> \tkmalloc(sizeof(s32)*ARRAY_SIZE(s5k83a_ctrls), GFP_KERNEL);\n" "> -\tif (!sens_priv->settings)\n" "> +\tif (!sens_priv->settings) {\n" "> +\t\tkfree(sens_priv);\n" @@ -87,10 +88,6 @@ "> To unsubscribe from this list: send the line \"unsubscribe linux-media\" in\n" "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" - "> \n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + > -2658584c9beae0f23cf9f6e52f5fdff230cfd27ca602dd268ccf3b47a926ba51 +617ea871e1a56d7e54522864de93f3587bdaf1c07b367d64509e448b9c6112eb
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.