[yaml2obj][ELF] Add a virtual destructor to the ELFYAML::Section class

to prevent memory leaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Simon Atanasyan
2014-04-23 11:10:55 +00:00
parent e42618b4bc
commit e8276ef418
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -14,6 +14,9 @@
#include "llvm/Object/ELFYAML.h"
namespace llvm {
ELFYAML::Section ::~Section() {}
namespace yaml {
void