bugfix:set pointer to nullptr
parent
72410a2d5f
commit
aa498f1390
|
@ -10,6 +10,7 @@ int main()
|
||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
|
|
||||||
delete subject;
|
delete subject;
|
||||||
|
subject = nullptr;
|
||||||
|
|
||||||
system("pause");
|
system("pause");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue