What caused this warning?

Everything seems to have been transfered ok, and the sites appear to be working just fine...

But I am wondering what causes the following warning when I run the move-bogs script?

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/livewell/public_html/wp-content/scripts/move-blogs.php on line 124

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/livewell/public_html/wp-content/scripts/move-blogs.php on line 125

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/livewell/public_html/wp-content/scripts/move-blogs.php on line 140

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/livewell/public_html/wp-content/scripts/move-blogs.php on line 141

Thanks,
MJ