diff --git a/src/ghtml-gtkhtml.c b/src/ghtml-gtkhtml.c
index 462e2a0..bf9016d 100644
--- a/src/ghtml-gtkhtml.c
+++ b/src/ghtml-gtkhtml.c
@@ -28,6 +28,7 @@
#include
#include
#include
+#include
#include
#include
#define GNET_EXPERIMENTAL
@@ -304,6 +305,7 @@ static GHtmlConn * _ghtmlconn_new(GHtml * ghtml, HtmlStream * stream,
GHtmlConn ** p;
GHtmlConn * c;
+ /* FIXME leaks memory: records are not re-used */
if((p = realloc(ghtml->conns, sizeof(*p) * (ghtml->conns_cnt + 1)))
== NULL)
return NULL;