Code cleanup

This commit is contained in:
Pierre Pronchery 2010-09-12 20:54:43 +00:00
parent 3b2f968844
commit ae6bd533fe

View File

@ -59,7 +59,7 @@ static gchar * _ghtml_make_url(gchar const * base, gchar const * url)
return g_strdup_printf("%s%s", base, url);
}
/* construct from basename */
if((b = strdup(base)) == NULL)
if((b = g_strdup(base)) == NULL)
return NULL;
p = b;
/* FIXME implement other protocols */