Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 6226b0b

Browse files
committed
[ CID 14863 ] Fix incorrect deallocator issue
1 parent 659e684 commit 6226b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revxml/src/revxml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ void XML_NewDocumentFromFile(char *args[], int nargs, char **retstring,
574574
sprintf(result,"%s\n%s",xmlerrors[XMLERR_BADXML],newdoc->GetError());
575575
delete newdoc;
576576
}
577-
delete tfile;
577+
free(tfile);
578578
free(t_native_path);
579579
free(t_resolved_path);
580580

0 commit comments

Comments
 (0)