statsc: free parsed params in case of error