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