In villages they probably managed to mostly keep the pigs under control, but in towns and cities there do seem to have been free-roaming pigs. They were known to eat babies on occasion, and the French, at least, liked to put them on trial for this (and execute them).