Can a sauce with dairy be jarred?
As already mentioned - no, don't keep dairy for extended periods.

Have you considered making just the sauce base without the dairy - or even without the final elements that would differentiate it from being 'generic curry' to being a masala sauce?  

Sauce bases can be stored for months in the freezer.
I usually have containers with just enough to make a single meal for the family, perhaps 4 to 6 different types of sauce base portioned out at any given time.