equal
deleted
inserted
replaced
45 m_symbol_tables = NULL; |
45 m_symbol_tables = NULL; |
46 m_next = NULL; |
46 m_next = NULL; |
47 m_status = NullDecoder::no_error; |
47 m_status = NullDecoder::no_error; |
48 |
48 |
49 int len = strlen(filepath) + 1; |
49 int len = strlen(filepath) + 1; |
50 m_filepath = (const char*)os::malloc(len * sizeof(char)); |
50 m_filepath = (const char*)os::malloc(len * sizeof(char), mtInternal); |
51 if (m_filepath != NULL) { |
51 if (m_filepath != NULL) { |
52 strcpy((char*)m_filepath, filepath); |
52 strcpy((char*)m_filepath, filepath); |
53 m_file = fopen(filepath, "r"); |
53 m_file = fopen(filepath, "r"); |
54 if (m_file != NULL) { |
54 if (m_file != NULL) { |
55 load_tables(); |
55 load_tables(); |