Description of problem: content = egg_recent_model_read_raw (model, file); if (strlen (content) <= 0) return NULL; that leaks memory because a zero length string still occupies memory. fix: --- egg-recent-model.c~ 2003-02-01 14:37:50.000000000 +0100 +++ egg-recent-model.c 2003-02-01 14:37:50.000000000 +0100 @@ -717,8 +717,10 @@ content = egg_recent_model_read_raw (model, file); - if (strlen (content) <= 0) + if (strlen (content) <= 0) { + g_free(content); return NULL; + } parse_info_init (&info);
http://bugzilla.gnome.org/show_bug.cgi?id=104988
fixed in 2.2.0-1.