(backend/corestorage.c) Fix resource leak

newvalue isn't freed here as it falls out-of-scope