Skip to content

Commit 90b8b11

Browse files
committed
[libs][pugiutil] delete pointer
1 parent 4186cc5 commit 90b8b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libpugiutil/src/pugixml_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ loc_data load_xml(pugi::xml_document& doc, //Document object to be loaded w
3131
+ " (line: " + std::to_string(line) + " col: " + std::to_string(col) + ")",
3232
filename.c_str(), line);
3333
}
34-
delete (final);
34+
delete [] final;
3535
return location_data;
3636
} else {
3737
//auto location_data = loc_data(end_result_fname);

0 commit comments

Comments
 (0)