From 57e003d38b911557e82322407edb4615818b71b5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 23 Feb 2009 15:43:08 +0000 Subject: [PATCH] Was missing --- src/ghtml-gtkhtml.c | 2 ++ 1 file changed, 2 insertions(+) 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;