commit 67ecb45b53a188b4060f0ce244e0cf8b52162b9a
parent dda12c4274bdbca18898256afd64e4f5ac0a2865
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 14 Aug 2010 13:04:35 +0000
fix leak
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -254,8 +254,9 @@ MHD_ip_limit_add(struct MHD_Daemon *daemon,
#if HAVE_MESSAGES
MHD_DLOG(daemon,
"Failed to add IP connection count node\n");
-#endif
+#endif
MHD_ip_count_unlock (daemon);
+ free (key);
return MHD_NO;
}
node = *(void**)node;