In the Leningrad it's usually a terrible idea, the queen will likely recapture on a1 leaving you with terribly weak squares around the king while bishops have open lines wheras the rooks don't.
if your queen is on g7 (which it normally isn't)
then you're ok, if your queen is guarding those squares. but then again, it always depends on the position *sight another generic answer*
In the Leningrad it's usually a terrible idea, the queen will likely recapture on a1 leaving you with terribly weak squares around the king while bishops have open lines wheras the rooks don't.