Fix registration leak of NMATRIX struct in nm_init_new
Fix possible registration of uninitialized pointer