Parcourir la Source

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

Eiyeron Fulmincendii il y a 10 ans
Parent
commit
03bd132e77
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/piaf/Exceptions.cpp

+ 0 - 2
src/piaf/Exceptions.cpp

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