Free the correct variable.  Closes CID #1233596
Make sqlippool handle IPv6 prefixes