From: Yiannis Pericleous Date: Wed, 30 May 2007 23:20:55 +0000 (-0400) Subject: bugfix: nullify kfreed pointer so it doesn't get double freed X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=779abcf9bbb3fa4e4b40ff6fee8ae532ec5205d3;p=unionfs-odf.git bugfix: nullify kfreed pointer so it doesn't get double freed --- diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c index 72f0ee9e60..4052798a2a 100644 --- a/fs/unionfs/odf.c +++ b/fs/unionfs/odf.c @@ -350,6 +350,7 @@ int odf_parse_options(const char *options, char **odf_path) out_error: if (odf) kfree(*odf_path); + *odf_path = NULL; out: kfree(tmp_options); return err;