Effects of frustration on freezing transition