Well, I was born and still live in Munich, so I'd have to vote for Munich
Vienna is a beautiful city as far as I know from a short trip. I really think you should take a short trip to both cities and decide for yourself.
If you wanna get some pointers for a night around town, just drop me a PM.
Btw, Munich has the lowest crime rate of all german cities.