Added a line for memory allocation of the "curve_type" array.
Authored by: semor 2011-08-26
Parent: [r14465]
Child: [r14467]