Retrieve TLegend from TCanvas::GetListOfPrimitives()

I have a TLegend drawn on a TCanvas.
When I call TCanvas::GetListOfPrimitives() there is a TPaveText but no TLegend.
Where is the TLegend?

The TLegend was created on stack and had gone out of scope.