Generally, no, since the connection is closed and memory freed after the page is parsed by PHP, assuming you arent using mysql_pconnect().
Though if there is a particularly memory intensive query somewhere in the middle, [man]mysql_free_result/man might help.