pTemplateCommon is never set, so always NULL

Change-Id: I2311b33034c281cba66d7cce80a6556e27b2b322