WIN32: free value caps too