Maintenance employee was using an oxygen/acetylene torch cutting the heads off bolts. While cutting the bolts the employee feel heat on EE's lower legs. When EE looked down there was flames on EE's right pants leg. Employee was diagnosed with 2nd degree burns, no lost time or restricted duty.