Fixes a memleak and a double initiation introduced in #123967. Patch missed to free the temp Curve object and called `curve_init_data` from `BKE_curve_init` which is already called in `BKE_id_new_nomain` from IDTypeInfo::init_data. Pull Request: https://projects.blender.org/blender/blender/pulls/141924