# HG changeset patch # User Elliott Sales de Andrade # Date 1325640088 0 # Node ID 1809d65d4f9269bae428217a1515bf533e83df75 # Parent 5022cf604d6eb8dc5199abf7c5272e07336653b3 This strlen seems redundant. diff -r 5022cf604d6e -r 1809d65d4f92 pidgin/gtkwebview.c --- a/pidgin/gtkwebview.c Wed Jan 04 01:18:01 2012 +0000 +++ b/pidgin/gtkwebview.c Wed Jan 04 01:21:28 2012 +0000 @@ -94,8 +94,8 @@ static char * replace_img_id_with_src(GtkWebView *view, const char *html) { - GString *buffer = g_string_sized_new(strlen(html)); - const char* cur = html; + GString *buffer = g_string_new(NULL); + const char *cur = html; char *id; int nid;