add: if (short_name == NULL) { gnome_vfs_uri_unref (uri); return NULL; }
context: egg_recent_item_get_short_name (const EggRecentItem *item){	GnomeVFSURI *uri;	char *short_name;	gboolean valid;	g_return_val_if_fail (item != NULL, NULL);	if (item->uri == NULL)		return NULL;	uri = gnome_vfs_uri_new (item->uri);	if (uri == NULL)		return NULL;	short_name = gnome_vfs_uri_extract_short_name (uri);	valid = FALSE;	if (strcmp (gnome_vfs_uri_get_scheme (uri), "file") == 0) {		char *tmp;		tmp = g_filename_to_utf8 (short_name, -1, NULL, NULL, NULL);		if (tmp) {			g_free (short_name);			short_name = tmp;			valid = TRUE;		}	}	if (!valid) {		char *tmp;		tmp = make_valid_utf8 (short_name);		g_assert (tmp != NULL);		g_free (short_name);		short_name = tmp;	}	gnome_vfs_uri_unref (uri);	return short_name;}