From 8f02417036139410c0d87fa4f1b1da97eb574486 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Mon, 15 Oct 2007 12:59:41 +0200 Subject: [PATCH] Insert a new line after variable declaration. --- src/cookies/cookies.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cookies/cookies.c b/src/cookies/cookies.c index f36166642..e1cf006eb 100644 --- a/src/cookies/cookies.c +++ b/src/cookies/cookies.c @@ -312,6 +312,7 @@ init_cookie(unsigned char *name, unsigned char *value, struct cookie_server *server) { struct cookie *cookie = mem_calloc(1, sizeof(*cookie)); + if (!cookie || !name || !value || !path || !domain || !server) { mem_free_if(cookie); mem_free_if(name);