Remove warning, fix double free, bump version

Four tiny fixes here:
  - remove a compile-time warning so we don't see it when building Redis
  - fix a double free (on error conditions)
  - refactor version checking to allow future versions to work too
  - bump version for easier inclusion in other projects