62ba01869eb6bd55982e123dd191f74ba55ebf7d
diff --git a/libsoup/soup-cookie.c b/libsoup/soup-cookie.c
index 0b2e017..0fb3485 100644
--- a/libsoup/soup-cookie.c
+++ b/libsoup/soup-cookie.c
@@ -152,7 +152,7 @@ soup_cookie_copy (const SoupCookie *cookie)
 	copy->domain = g_strdup (cookie->domain);
 	copy->path = g_strdup (cookie->path);
 	if (cookie->expires)
-		copy->expires = soup_date_copy(cookie->expires);
+		copy->expires = soup_date_copy (cookie->expires);
 	copy->secure = cookie->secure;
 	copy->http_only = cookie->http_only;
 
@@ -712,6 +712,8 @@ soup_cookie_free (SoupCookie *cookie)
 	g_free (cookie->domain);
 	g_free (cookie->path);
 
+	soup_date_free (cookie->expires);
+
 	g_slice_free (SoupCookie, cookie);
 }
 
