Open azuredarkness opened 4 years ago
If one of the two allocs in the constructor fails, the code results in random memory access, and either the program will crash or the object will be left in an inconsistent state.
If one of the two allocs in the constructor fails, the code results in random memory access, and either the program will crash or the object will be left in an inconsistent state.