-- Pete
--- linux-2.4.19/fs/namei.c	2002-08-02 17:39:45.000000000 -0700
+++ linux-2.4.19-p3/fs/namei.c	2002-11-12 14:01:55.000000000 -0800
@@ -1984,8 +1984,10 @@
 	 * bloody create() on broken symlinks. Furrfu...
 	 */
 	name = __getname();
-	if (!name)
+	if (!name) {
+		path_release(nd);
 		return -ENOMEM;
+	}
 	strcpy(name, nd->last.name);
 	nd->last.name = name;
 	return 0;
-
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/