##// END OF EJS Templates
Basic mistake fixed, pointer not initialized.
Alexis Jeandet -
r17:eee9d5c97f55 tip default draft
parent child
Show More
@@ -32,8 +32,9 ElfFile::ElfFile()
32 this->opened = false;
32 this->opened = false;
33 this->type_elf = false;
33 this->type_elf = false;
34 this->elfFile = (int)NULL;
34 this->elfFile = (int)NULL;
35 this->e = NULL;
35 this->e = Q_NULLPTR;
36 this->data = NULL;
36 this->data = Q_NULLPTR;
37 this->scn = Q_NULLPTR;
37 this->SymbolCount = 0;
38 this->SymbolCount = 0;
38 }
39 }
39
40
@@ -43,10 +44,11 ElfFile::ElfFile(const QString &File)
43 this->opened = false;
44 this->opened = false;
44 this->type_elf = false;
45 this->type_elf = false;
45 this->elfFile = (int)NULL;
46 this->elfFile = (int)NULL;
46 this->e = NULL;
47 this->e = Q_NULLPTR;
48 this->data = Q_NULLPTR;
49 this->scn = Q_NULLPTR;
50 this->SymbolCount = 0;
47 this->p_fileName = File;
51 this->p_fileName = File;
48 this->data = NULL;
49 this->SymbolCount = 0;
50 openFile(File);
52 openFile(File);
51 }
53 }
52
54
General Comments 0
You need to be logged in to leave comments. Login now