Selaa lähdekoodia

Fixed an useless delete. Could have been the origin of problems

Eiyeron Fulmincendii 10 vuotta sitten
vanhempi
commit
03bd132e77
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      src/piaf/Exceptions.cpp

+ 0 - 2
src/piaf/Exceptions.cpp

@@ -17,8 +17,6 @@ PIAFException::PIAFException(const char *format, ...)
 
 
 PIAFException::~PIAFException()
 PIAFException::~PIAFException()
 {
 {
-	if(msg != nullptr)
-		delete msg;
 }
 }
 
 
 const char* PIAFException::what() const throw()
 const char* PIAFException::what() const throw()