Home > Mobile >  QT5 program under the release abnormal exit.
QT5 program under the release abnormal exit.

Time:11-12

Under the debug can run normally, release under abnormal exit, please masters teach you
I pinpoint the cause abnormal code is:
StructA * p=new StructA;
Func (p);
If (p)
{
The delete p;//here lead to abnormal
P=NULL;
}
  •  Tags:  
  • Qt
  • Related