Can pregnancy cause cancer?

I have a growth on my leg (waiting for the results) which appeared quite suddenly when I was pregnant with my 3rd child. Could bring pregnant have played a part in this??