浏览代码

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

Eiyeron Fulmincendii 10 年之前
父节点
当前提交
03bd132e77
共有 1 个文件被更改,包括 0 次插入2 次删除
  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()