Actually it's a good idea - just good coding practice in general - to both "free up" the Query ram and close the specific db connection.
So if I start a new connection and query:
mysql_connect("hostname","username","password")
mysql_select_db("dbname",$db);
$member_result = mysql_query("SELECT first_name FROM site_members WHERE...",$db);
Then when you're done you'll wanna go:
mysql_free_result($member_result);
mysql_close($db);
The reason for this is: over time - particularly as your site gains in popularity - your server may not close of those threads. It's a small thing, eats up very little CPU. But like I say: just overall good practice. Your server will thank you later.
Ta da.
ad